Skip to content

Commit

Permalink
FxSegaRega extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
gavbrennan committed Nov 21, 2022
1 parent 29da3c9 commit 3446d16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions src/Qwack.Models/Models/AssetProductEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1373,6 +1373,14 @@ public static ICube FxVega(this Portfolio portfolio, IAssetFxModel model, Curren

}

public static ICube FxSegaRega(this Portfolio portfolio, IAssetFxModel model, Currency reportingCcy)
{
var m = model.Clone();
m.AttachPortfolio(portfolio);
return m.FxSegaRega(reportingCcy);

}

public static ICube AssetIrDelta(this Portfolio portfolio, IAssetFxModel model, Currency reportingCcy = null, double bumpSize = 0.0001)
{
var m = model.Clone();
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.7.8</VersionPrefix>
<VersionPrefix>0.7.9</VersionPrefix>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.8
0.7.9

0 comments on commit 3446d16

Please sign in to comment.