18 using System.Collections.Generic;
30 public string Name {
get;
set; }
45 public List<OptionLegData>
OptionLegs {
get;
set; } =
new List<OptionLegData>();
50 public List<UnderlyingLegData>
UnderlyingLegs {
get;
set; } =
new List<UnderlyingLegData>();
60 public abstract void Invoke(Action<UnderlyingLegData> underlyingHandler, Action<OptionLegData> optionHandler);
102 public override void Invoke(Action<UnderlyingLegData> underlyingHandler, Action<OptionLegData> optionHandler)
118 var data =
Create(quantity, orderPrice);
119 data.Symbol = symbol;
138 public override void Invoke(Action<UnderlyingLegData> underlyingHandler, Action<OptionLegData> optionHandler)
140 underlyingHandler(
this);