This commit is contained in:
2024-04-08 13:48:25 -04:00
parent 1273b4dfd6
commit 86068fbae9
3 changed files with 3 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<StartArguments>RUNBACKTEST /STARTDATE:01-31-2018 /MAXPOSITIONS:3 /INITIALCASH:10000 /HOLDINGPERIOD:3 /INTRADAYMODE:FALSE /SESSIONFILE:MG20180131.TXT</StartArguments>
<StartArguments>
</StartArguments>
</PropertyGroup>
</Project>

Binary file not shown.

View File

@@ -22,6 +22,7 @@ using MarketData.Cache;
using MarketData.Generator.CMTrend;
using Axiom.Interpreter;
using System.Data;
using MarketData.CNNProcessing;
namespace MarketData
{
@@ -622,17 +623,6 @@ namespace MarketData
Trace.Listeners.Add(new TextWriterTraceListener(strLogFile));
DateTime currentDate=DateTime.Now;
// Price price = MarketDataHelper.GetLatestPriceYahoo("STNE");
//RunModelPerformance("SPY");
//Console.ReadLine();
//return 0;
// Price price=MarketDataHelper.GetLatestPriceFidelity("AAPL");
DateTime maxHolidayDate =HolidayDA.GetMaxHolidayDate();
if(currentDate>maxHolidayDate)
{