Skip to main content

historical

Get historical futures [Source: Yahoo Finance]

Source Code: [link]

openbb.futures.historical(symbols: List[str], expiry: str = "")

Parameters

NameTypeDescriptionDefaultOptional
symbolsList[str]List of future timeseries symbols to displayNoneFalse
expirystrFuture expiry date with format YYYY-MMTrue

Returns

TypeDescription
pd.DataFrameDictionary with sector weightings allocation