FuturesContracts
QuantConnect.Data.Market.FuturesContracts
FuturesContracts()
FuturesContracts(time: Union[datetime, date])
Bases: DataDictionary[FuturesContract]
Collection of FuturesContract keyed by futures symbol
Creates a new instance of the FuturesContracts dictionary
time
time: datetime
Gets or sets the time associated with this collection of data
__getitem__
__getitem__(
symbol: Union[Symbol, str, BaseContract],
) -> QuantConnect_Data_Market_DataDictionary_T
Gets or sets the element with the specified key.
__setitem__
__setitem__(
symbol: Union[Symbol, str, BaseContract],
value: QuantConnect_Data_Market_DataDictionary_T,
) -> None
Gets or sets the element with the specified key.
get_value
get_value(
key: Union[Symbol, str, BaseContract],
) -> QuantConnect_Data_Market_DataDictionary_T
Gets the value associated with the specified key.