18 using System.Collections.Generic;
28 private static readonly Dictionary<string, string> _nonStandardOptionToIndex =
new()
39 private static readonly HashSet<string> _nonStandardIndexOptionTickers =
new()
54 .Union(_nonStandardIndexOptionTickers)
106 if(_nonStandardOptionToIndex.TryGetValue(indexOption.LazyToUpper(), out var index))
120 return expirationDate.AddDays(-GetExpirationOffset(ticker));
127 public static DateTime
GetExpiryDate(
string ticker, DateTime lastTradingDate)
129 return lastTradingDate.AddDays(GetExpirationOffset(ticker));
136 private static int GetExpirationOffset(
string ticker)