public Dictionary <string, object> GetParametersForBillingYesterday() { var parameters = new Dictionary <string, object>() { { "@DataDe", ReferenceDate.AddDays(-1) }, { "@DataAte", ReferenceDate.AddDays(-1) }, { "@Lojas", String.Join(",", StoresId) }, { "@Utilizadores", String.Join(",", UsersId) } }; if (IsSale) { parameters.Add("@Objetivo", 750); } return(parameters); }
public Symbol this[decimal strike, int weeks = 0] => Symbol.CreateOption(Symbols.SPY, Market.USA, OptionStyle.American, right, strike, ReferenceDate.AddDays(7 * weeks));
public Symbol this[Symbol underlying, decimal strike, int weeks = 0] => Symbol.CreateOption(underlying, underlying.ID.Market, OptionStyle.American, right, strike, ReferenceDate.AddDays(7 * weeks));
public Symbol this[OptionRight right, decimal strike, int weeks = 0] => Symbol.CreateOption(Underlying, Market.USA, OptionStyle.American, right, strike, ReferenceDate.AddDays(7 * weeks));