26 private DateTime _expiry;
65 if (_expiry ==
default)
67 _expiry = Securities.Option.OptionSymbol.GetSettlementDateTime(
OptionSymbol);
130 : base(name, mirrorOption == null ? [option, option.Underlying] : [option, option.Underlying, mirrorOption], period)
133 if (!sid.SecurityType.IsOption())
135 throw new ArgumentException(
"OptionIndicatorBase only support SecurityType.Option.");
151 if (mirrorOption !=
null)
167 return Math.Round(base.ComputeNextValue(input), 7);
195 if (optionModel.HasValue)
197 return optionModel.Value;
201 return optionStyle
switch
205 _ =>
throw new ArgumentOutOfRangeException(nameof(optionStyle), optionStyle,
null)