Skip to content

Commit

Permalink
Fix for lookback options
Browse files Browse the repository at this point in the history
  • Loading branch information
gavbrennan committed Jul 8, 2024
1 parent c38923b commit 15ce3cf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Qwack.Core/Basic/RiskMetric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ public enum RiskMetric
PnLAttribution,
OptimalExercise,
AssetParallelDelta,
HistSimVaR
}
}
3 changes: 2 additions & 1 deletion src/Qwack.Core/Instruments/Asset/AsianLookbackOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ public Dictionary<string, List<DateTime>> PastFixingDates(DateTime valDate) => v

public IAssetInstrument SetStrike(double strike) => throw new InvalidOperationException();

public TO_Instrument ToTransportObject() =>
public TO_Instrument ToTransportObject() =>
new(){
AssetInstrumentType = AssetInstrumentType.AsianLookbackOption,
AsianLookbackOption = new()
{
TradeId = TradeId,
Expand Down
2 changes: 1 addition & 1 deletion version.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<VersionPrefix>0.8.52</VersionPrefix>
<VersionPrefix>0.8.53</VersionPrefix>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.52
0.8.53

0 comments on commit 15ce3cf

Please sign in to comment.