Handle multiple stop limits in the stop limit table and display them properly.

This commit is contained in:
2026-02-18 18:57:00 -05:00
parent cddf7202b1
commit a510a63772
3 changed files with 5 additions and 34 deletions

View File

@@ -34,7 +34,7 @@ namespace TradeBlotter.Model
List<DateTime> stopLimitDates = new List<DateTime>();
foreach(StopLimit stopLimit in stopLimits)
{
stopLimitDates.Add(stopLimit.EffectiveDate);
stopLimitDates.Add(xSource);
}
var xData=new EnumerableDataSource<DateTime>(stopLimitDates.Select(x => x.Date));
xData.SetXMapping(x => (x.Ticks/10000000000.0));