Point database to Adrastea. Fix MGSHBacktest.cs PerformanceStatistics. Provide an optimized PricingDA.GetLatestPrices() for use with the UI TradeBlotter.

This commit is contained in:
2025-05-19 17:21:26 -04:00
parent c73043773f
commit 57f9f4857a
4 changed files with 71 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ namespace MarketData.DataAccess
}
public static bool InsertUpdateStopLimit(StopLimit stopLimit)
{
if(null==stopLimit||null==stopLimit.Symbol||double.IsNaN(stopLimit.StopPrice))return false;
if(null==stopLimit || null==stopLimit.Symbol || double.IsNaN(stopLimit.StopPrice))return false;
if(!HasStopLimit(stopLimit.Symbol))return InsertStopLimit(stopLimit);
return UpdateStopLimit(stopLimit);
}