diff --git a/QuantowerDLL/TradingPlatform.BusinessLayer.dll b/.github/TradingPlatform.BusinessLayer.dll similarity index 100% rename from QuantowerDLL/TradingPlatform.BusinessLayer.dll rename to .github/TradingPlatform.BusinessLayer.dll diff --git a/.github/workflows/main_automation.yml b/.github/workflows/main_automation.yml index 9a76241f..5b897de9 100644 --- a/.github/workflows/main_automation.yml +++ b/.github/workflows/main_automation.yml @@ -28,19 +28,6 @@ jobs: with: java-version: 1.11 - - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v0 - with: - versionSpec: '6.x' - includePrerelease: true - - name: Determine Version - uses: gittools/actions/gitversion/execute@v0 - with: - useConfigFile: true - configFilePath: .\.github\GitVersion.yml - additionalArguments: '/verbosity Diagnostic' - - - name: Install JetBrains run: dotnet tool install JetBrains.dotCover.GlobalTool --global - name: Install Sonar Scanner @@ -57,7 +44,7 @@ jobs: /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.dotcover.reportsPaths=./coveragereport.html - - name: Build Core DLL + - name: Build Core QuanTAlib DLL run: dotnet build ./Calculations/Calculations.csproj --verbosity minimal --configuration Release --nologo - name: Build Indicators DLL run: dotnet build ./Indicators/Indicators.csproj --verbosity minimal --configuration Release --nologo @@ -93,12 +80,19 @@ jobs: prerelease: true title: "Latest Build" files: | - /Quantower/Settings/Scripts/Indicators/QuanTAlib/*.dll - /Quantower/Settings/Scripts/Strategies/QuanTAlib/*.dll + .\Calculations\bin\Release\net6.0\QuanTAlib.dll + .\Indicators\bin\Release\QuanTAlib_Indicators.dll + .\Strategies\bin\Release\QuanTAlib_Strategies.dll + + - name: Push package to myget.org + run: dotnet nuget push '.\Calculations\bin\Release\QuanTAlib.*.nupkg' + --api-key ${{ secrets.MYGET_DEPLOY_KEY_QUANTALIB }} + --source https://www.myget.org/F/quantalib/api/v2/package + --skip-duplicate - name: Push package to nuget.org if: ${{ github.ref == 'refs/heads/main' }} - run: dotnet nuget push '.\Calculations\bin\Release\net8.0\QuanTAlib.*.nupkg' + run: dotnet nuget push '.\Calculations\bin\Release\QuanTAlib.*.nupkg' --api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }} --source https://api.nuget.org/v3/index.json --skip-duplicate diff --git a/Calculations/Calculations.csproj b/Calculations/Calculations.csproj index 7ea69e5e..cc0f6e01 100644 --- a/Calculations/Calculations.csproj +++ b/Calculations/Calculations.csproj @@ -2,7 +2,7 @@ QuanTAlib - $(GitVersion_NuGetVersionV2) + 0.1.30 Library of TA Calculations, Charts and Strategies for Quantower Quantitative Technical Analysis Library in C# for Quantower git diff --git a/Indicators/Indicators.csproj b/Indicators/Indicators.csproj index 02a2620b..db3613a6 100644 --- a/Indicators/Indicators.csproj +++ b/Indicators/Indicators.csproj @@ -1,12 +1,12 @@  - net6 + net6.0 preview false AnyCPU Indicator - Quantower_QTAlib + QuanTAlib_Indicators QuanTAlib embedded AnyCPU @@ -20,7 +20,6 @@ True anycpu full - C:\Quantower\TradingPlatform\v1.130.7\..\..\Settings\Scripts\Indicators\QuanTAlib embedded @@ -28,7 +27,6 @@ 3 True anycpu - C:\Quantower\TradingPlatform\v1.130.7\..\..\Settings\Scripts\Indicators\QuanTAlib @@ -36,12 +34,17 @@ + + + - + + QuanTAlib\%(RecursiveDir)%(Filename)%(Extension) + - ..\QuantowerDLL\TradingPlatform.BusinessLayer.dll + ..\.github\TradingPlatform.BusinessLayer.dll \ No newline at end of file diff --git a/Strategies/Strategies.csproj b/Strategies/Strategies.csproj index f8c78db4..280576ad 100644 --- a/Strategies/Strategies.csproj +++ b/Strategies/Strategies.csproj @@ -1,19 +1,18 @@ - + + net6.0 preview false AnyCPU Strategy - Strategy - Strategy + QuanTAlib_Strategies + QuanTAlib + embedded AnyCPU disable False - Program - C:\Quantower\TradingPlatform\v1.130.7\Console.StarterNew.exe - --address 127.0.0.1 --port 51113 - ..\.sonarlint\mihakralj_quantalibcsharp.ruleset + ..\.sonarlint\mihakralj_quantalibcsharp.ruleset True @@ -21,7 +20,6 @@ True anycpu full - C:\Quantower\TradingPlatform\v1.130.7\..\..\Settings\Scripts\Strategies\QuanTAlib embedded @@ -29,17 +27,21 @@ 3 True anycpu - C:\Quantower\TradingPlatform\v1.130.7\..\..\Settings\Scripts\Strategies\QuanTAlib + + + - + + QuanTAlib\%(RecursiveDir)%(Filename)%(Extension) + - ..\QuantowerDLL\TradingPlatform.BusinessLayer.dll + ..\.github\TradingPlatform.BusinessLayer.dll \ No newline at end of file diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 34cdd598..214ef839 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -1,7 +1,6 @@  - - net6.0;net7.0;net8.0 + net6.0 preview enable enable