Handle multiple stop limits for single symbol.

This commit is contained in:
2026-02-18 21:51:02 -05:00
parent ea96097828
commit 315cf51da4
5 changed files with 65 additions and 17 deletions

View File

@@ -11,4 +11,19 @@ namespace MarketData.MarketDataModel
public String StopType{get;set;}
public int Active{get;set;}
}
public class StopLimits : List<StopLimit>
{
public StopLimits()
{
}
public StopLimits(List<StopLimit> stopLimits)
{
foreach(StopLimit stopLimit in stopLimits) Add(stopLimit);
}
public void Add(StopLimits stopLimits)
{
foreach(StopLimit stopLimit in stopLimits)this.Add(stopLimit);
}
}
}