Update
This commit is contained in:
@@ -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>
|
||||||
@@ -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.
Reference in New Issue
Block a user