Handle multiple stop limits for single symbol.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user