Skip to content

Commit 150dac5

Browse files
authored
Update Pythonnet version to 2.0.53 (#9303)
* Update Pythonnet version to 2.0.53 * Minor python syntax fix
1 parent d1337ea commit 150dac5

12 files changed

Lines changed: 24 additions & 24 deletions

Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<DebugType>portable</DebugType>
3333
</PropertyGroup>
3434
<ItemGroup>
35-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
35+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
3636
<PackageReference Include="Accord" Version="3.6.0" />
3737
<PackageReference Include="Accord.Fuzzy" Version="3.6.0" />
3838
<PackageReference Include="Accord.MachineLearning" Version="3.6.0" />

Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<PackageLicenseFile>LICENSE</PackageLicenseFile>
3030
</PropertyGroup>
3131
<ItemGroup>
32-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
32+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
3333
<PackageReference Include="Accord" Version="3.6.0" />
3434
<PackageReference Include="Accord.Math" Version="3.6.0" />
3535
<PackageReference Include="Accord.Statistics" Version="3.6.0" />

Algorithm.Python/BasicTemplateOptionsPriceModel.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ def initialize(self):
3636
option.set_filter(-3, +3, 0, 31)
3737

3838
# Define the Option Price Model
39-
option.price_model = OptionPriceModels.crank_nicolson_fd()
40-
#option.price_model = OptionPriceModels.black_scholes()
41-
#option.price_model = OptionPriceModels.additive_equiprobabilities()
42-
#option.price_model = OptionPriceModels.barone_adesi_whaley()
43-
#option.price_model = OptionPriceModels.binomial_cox_ross_rubinstein()
44-
#option.price_model = OptionPriceModels.binomial_jarrow_rudd()
45-
#option.price_model = OptionPriceModels.binomial_joshi()
46-
#option.price_model = OptionPriceModels.binomial_leisen_reimer()
47-
#option.price_model = OptionPriceModels.binomial_tian()
48-
#option.price_model = OptionPriceModels.binomial_trigeorgis()
49-
#option.price_model = OptionPriceModels.bjerksund_stensland()
50-
#option.price_model = OptionPriceModels.integral()
39+
option.price_model = OptionPriceModels.QuantLib.crank_nicolson_fd()
40+
#option.price_model = OptionPriceModels.QuantLib.black_scholes()
41+
#option.price_model = OptionPriceModels.QuantLib.additive_equiprobabilities()
42+
#option.price_model = OptionPriceModels.QuantLib.barone_adesi_whaley()
43+
#option.price_model = OptionPriceModels.QuantLib.binomial_cox_ross_rubinstein()
44+
#option.price_model = OptionPriceModels.QuantLib.binomial_jarrow_rudd()
45+
#option.price_model = OptionPriceModels.QuantLib.binomial_joshi()
46+
#option.price_model = OptionPriceModels.QuantLib.binomial_leisen_reimer()
47+
#option.price_model = OptionPriceModels.QuantLib.binomial_tian()
48+
#option.price_model = OptionPriceModels.QuantLib.binomial_trigeorgis()
49+
#option.price_model = OptionPriceModels.QuantLib.bjerksund_stensland()
50+
#option.price_model = OptionPriceModels.QuantLib.integral()
5151

5252
# Set warm up with 30 trading days to warm up the underlying volatility model
5353
self.set_warm_up(30, Resolution.DAILY)

Algorithm.Python/QuantConnect.Algorithm.Python.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<Compile Include="..\Common\Properties\SharedAssemblyInfo.cs" Link="Properties\SharedAssemblyInfo.cs" />
3838
</ItemGroup>
3939
<ItemGroup>
40-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
40+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
4141
</ItemGroup>
4242
<ItemGroup>
4343
<Content Include="OptionUniverseFilterGreeksShortcutsRegressionAlgorithm.py" />

Algorithm/QuantConnect.Algorithm.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<PackageLicenseFile>LICENSE</PackageLicenseFile>
3030
</PropertyGroup>
3131
<ItemGroup>
32-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
32+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
3333
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
3434
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
3535
<PackageReference Include="NodaTime" Version="3.0.5" />

AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2929
</PropertyGroup>
3030
<ItemGroup>
31-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
31+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
3232
<PackageReference Include="NodaTime" Version="3.0.5" />
3333
</ItemGroup>
3434
<ItemGroup>

Common/QuantConnect.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<Message Text="SelectedOptimization $(SelectedOptimization)" Importance="high" />
3636
</Target>
3737
<ItemGroup>
38-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
38+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
3939
<PackageReference Include="CloneExtensions" Version="1.3.0" />
4040
<PackageReference Include="fasterflect" Version="3.0.0" />
4141
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />

Engine/QuantConnect.Lean.Engine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<Message Text="SelectedOptimization $(SelectedOptimization)" Importance="high" />
4242
</Target>
4343
<ItemGroup>
44-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
44+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
4545
<PackageReference Include="fasterflect" Version="3.0.0" />
4646
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
4747
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />

Indicators/QuantConnect.Indicators.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<Message Text="SelectedOptimization $(SelectedOptimization)" Importance="high" />
3232
</Target>
3333
<ItemGroup>
34-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
34+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
3535
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
3636
</ItemGroup>
3737
<ItemGroup>

Report/QuantConnect.Report.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -39,7 +39,7 @@
3939
<PackageLicenseFile>LICENSE</PackageLicenseFile>
4040
</PropertyGroup>
4141
<ItemGroup>
42-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.52" />
42+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.53" />
4343
<PackageReference Include="Deedle" Version="2.1.0" />
4444
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
4545
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />

0 commit comments

Comments
 (0)