Skip to content

Commit

Permalink
Update to version, and serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Drawaes committed Apr 15, 2024
1 parent 92503f4 commit 56d0e81
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Qwack.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
directory.build.props = directory.build.props
LICENSE = LICENSE
nuget.config = nuget.config
pack.bat = pack.bat
PayoffLangauge.txt = PayoffLangauge.txt
README.md = README.md
version.props = version.props
Expand Down
2 changes: 1 addition & 1 deletion pack.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
set VERSION=12
set VERSION=13
set OUTPUT_DIR=c:\code\packages

dotnet pack ./src/Qwack.Options --configuration Release /p:Version=%VERSION% --output %OUTPUT_DIR% /p:DebugType=Embedded
Expand Down
1 change: 1 addition & 0 deletions src/Qwack.Core/Instruments/Asset/BackpricingOption.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public Dictionary<string, List<DateTime>> PastFixingDates(DateTime valDate) => v
new Dictionary<string, List<DateTime>>() :
new Dictionary<string, List<DateTime>> { { AssetId, FixingDates.Where(d => d < valDate).ToList() } };



public IAssetInstrument Clone() => new BackPricingOption
{
Expand Down
1 change: 1 addition & 0 deletions src/Qwack.Core/Instruments/InstrumentEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public static class InstrumentEx
IrSwap irs => irs.ToTransportObject(),
AssetTrs trs => trs.ToTransportObject(),
SyntheticCashAndCarry cnc => cnc.ToTransportObject(),
MultiPeriodBackpricingOption bpo => bpo.ToTransportObject(),
_ => throw new Exception("Unable to serialize instrument"),
};
}
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.76</VersionPrefix>
<VersionPrefix>0.7.77</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.76
0.7.77

0 comments on commit 56d0e81

Please sign in to comment.