Add logic to all models to avoid selling and immediately buying back the same security as this is considered a Wash Trade and is illegal.

This commit is contained in:
2026-03-19 19:46:19 -04:00
parent 682ba74241
commit 554f577803
7 changed files with 109 additions and 25 deletions

View File

@@ -2809,6 +2809,7 @@ namespace MarketData
}
MDTrace.WriteLine(LogLevel.DEBUG,"Done.");
}
public static void LoadAllPricesSymbolDate(String symbol,DateTime startDate)
{
DateTime endDate = DateTime.Now;