33 var contractExpirationDate = symbol.
ID.
Date.Date;
40 var contractMonth = contractExpirationDate.AddDays(-(contractExpirationDate.Day - 1))
41 .AddMonths(monthsToAdd);
43 var standardExpirationDate = expiryFunction(contractMonth);
46 return contractExpirationDate == standardExpirationDate.Date;
50 Log.
Error($
"FutureSymbol.IsStandard(): Could not find standard date for {symbol}, will be classified as standard");