This commit is contained in:
2025-05-01 11:28:28 -04:00
parent 648541d0ef
commit c9ec1a4ee8
4 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<StartArguments>RUNCMBACKTEST /STARTDATE:10-31-2019 /MAXPOSITIONS:3 /INITIALCASH:5000 /HOLDINGPERIOD:3 /TARGETBETA:1 /SESSIONFILE:CM20191031.TXT</StartArguments> <StartArguments>MGSHRUNBACKTEST /STARTDATE:"03-31-2025" /KEEPSLOTPOSITIONS:TRUE /STOPLIMITRISKPERCENTDECIMAL:.20 /USESTOPLIMITS:TRUE /INITIALHEDGECASH:3000 /USEHEDGING:TRUE /USELOWSLOPEBETACHECK:TRUE /INCLUDETRADEMASTERFORSYMBOLSHELD:TRUE /MACDREJECTSTRONGSELLSIGNALS:FALSE /MACDREJECTWEAKSELLSIGNALS:TRUE /MAXPOSITIONS:3 /INITIALCASH:10000 /HOLDINGPERIOD:3 /SESSIONFILE:C:\boneyard\marketdata\bin\Debug\MGSH20250331.TXT</StartArguments>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@@ -413,6 +413,7 @@ namespace MarketData.Generator.MGSHMomentum
if(TradeDate.Equals(AnalysisDate)) if(TradeDate.Equals(AnalysisDate))
{ {
TradeDate = nextBusinessDay; TradeDate = nextBusinessDay;
Cycle++; // advance the cycle so the next monthly run calculates the correct slot
break; break;
} }

Binary file not shown.

Binary file not shown.