Point database to Adrastea. Fix MGSHBacktest.cs PerformanceStatistics. Provide an optimized PricingDA.GetLatestPrices() for use with the UI TradeBlotter.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user