Add scripts, run models
This commit is contained in:
@@ -826,6 +826,14 @@ namespace MarketData.Generator.MGSHMomentum
|
||||
{
|
||||
EvaluateStopPrice(analysisDate, price, position);
|
||||
}
|
||||
else
|
||||
{
|
||||
MDTrace.WriteLine(LogLevel.DEBUG, String.Format("[UpdateStopLimitsForActivePositions] No stop adjustment for {0} on {1} because low price {2} is less then or equal to the purchase price {3}.",
|
||||
position.Symbol,
|
||||
analysisDate.ToShortDateString(),
|
||||
Utility.FormatCurrency(price.Low),
|
||||
Utility.FormatCurrency(position.PurchasePrice)));
|
||||
}
|
||||
}
|
||||
}
|
||||
if(0!=closedPositions.Count)
|
||||
|
||||
Reference in New Issue
Block a user