Skip to content

Commit 2e67b9a

Browse files
Feature net10 update (#9161)
* Feature update to net10 * Update to net10 * Update pythonnet to 2.0.51 * Remove dotnet config * Remove net9 * Minor cleanup
1 parent 7adf27a commit 2e67b9a

28 files changed

+48
-45
lines changed

.github/workflows/research-regression-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# install dependencies
3131
pip3 install papermill==2.4.0 clr-loader==0.1.6
3232
# install kernel
33-
dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.607001
33+
dotnet tool install -g --no-cache --version 1.0.661703 --add-source "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" Microsoft.dotnet-interactive
3434
# Add dotnet tools to Path
3535
export PATH="$HOME/.dotnet/tools:$PATH"
3636
# activate kernel for jupyter

Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.Algorithm.CSharp</RootNamespace>
66
<AssemblyName>QuantConnect.Algorithm.CSharp</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
99
<OutputPath>bin\$(Configuration)\</OutputPath>
1010
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
@@ -32,7 +32,7 @@
3232
<DebugType>portable</DebugType>
3333
</PropertyGroup>
3434
<ItemGroup>
35-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.50" />
35+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.51" />
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.Algorithm.Framework</RootNamespace>
66
<AssemblyName>QuantConnect.Algorithm.Framework</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
99
<OutputPath>bin\$(Configuration)\</OutputPath>
1010
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
@@ -29,7 +29,7 @@
2929
<PackageLicenseFile>LICENSE</PackageLicenseFile>
3030
</PropertyGroup>
3131
<ItemGroup>
32-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.50" />
32+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.51" />
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/QuantConnect.Algorithm.Python.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.Algorithm.Python</RootNamespace>
66
<AssemblyName>QuantConnect.Algorithm.Python</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
99
<OutputPath>bin\$(Configuration)\</OutputPath>
1010
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
@@ -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.50" />
40+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.51" />
4141
</ItemGroup>
4242
<ItemGroup>
4343
<Content Include="OptionUniverseFilterGreeksShortcutsRegressionAlgorithm.py" />

Algorithm/QuantConnect.Algorithm.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.Algorithm</RootNamespace>
66
<AssemblyName>QuantConnect.Algorithm</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1010
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
@@ -29,7 +29,7 @@
2929
<PackageLicenseFile>LICENSE</PackageLicenseFile>
3030
</PropertyGroup>
3131
<ItemGroup>
32-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.50" />
32+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.51" />
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.AlgorithmFactory</RootNamespace>
66
<AssemblyName>QuantConnect.AlgorithmFactory</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
99
<OutputPath>bin\$(Configuration)\</OutputPath>
1010
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
@@ -28,7 +28,7 @@
2828
<PackageLicenseFile>LICENSE</PackageLicenseFile>
2929
</PropertyGroup>
3030
<ItemGroup>
31-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.50" />
31+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.51" />
3232
<PackageReference Include="NodaTime" Version="3.0.5" />
3333
</ItemGroup>
3434
<ItemGroup>

Api/QuantConnect.Api.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.Api</RootNamespace>
66
<AssemblyName>QuantConnect.Api</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
99
<RestorePackages>true</RestorePackages>
1010
<AnalysisMode>AllEnabledByDefault</AnalysisMode>

Brokerages/QuantConnect.Brokerages.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
55
<RootNamespace>QuantConnect.Brokerages</RootNamespace>
66
<AssemblyName>QuantConnect.Brokerages</AssemblyName>
7-
<TargetFramework>net9.0</TargetFramework>
7+
<TargetFramework>net10.0</TargetFramework>
88
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1010
<OutputPath>bin\$(Configuration)\</OutputPath>

Common/QuantConnect.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
44
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net10.0</TargetFramework>
66
<AssemblyName>QuantConnect.Common</AssemblyName>
77
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
88
<RestorePackages>true</RestorePackages>
@@ -35,7 +35,7 @@
3535
<Message Text="SelectedOptimization $(SelectedOptimization)" Importance="high" />
3636
</Target>
3737
<ItemGroup>
38-
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.50" />
38+
<PackageReference Include="QuantConnect.pythonnet" Version="2.0.51" />
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" />

Common/Util/Composer.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,10 @@ private void LoadPartsSafely(IEnumerable<string> files)
386386
}
387387
catch (Exception ex)
388388
{
389-
Log.Trace($"Composer.LoadPartsSafely({file}): Skipping {ex.GetType().Name}: {ex.Message}");
389+
if (!file.Contains("quickfix.fix", StringComparison.InvariantCultureIgnoreCase))
390+
{
391+
Log.Trace($"Composer.LoadPartsSafely({file}): Skipping {ex.GetType().Name}: {ex.Message}");
392+
}
390393
}
391394
});
392395

0 commit comments

Comments
 (0)