Skip to main content

future

Get futures data. [Source: Finviz]

Source Code: [link]

openbb.economy.future(future_type: str = "Indices", sortby: str = "ticker", ascend: bool = False)

Parameters

NameTypeDescriptionDefaultOptional
future_typestrFrom the following: Indices, Energy, Metals, Meats, Grains, Softs, Bonds, CurrenciesIndicesTrue
sortbystrColumn to sort bytickerTrue
ascendboolFlag to sort in ascending orderFalseTrue

Returns

TypeDescription
pd.DataframeIndices, Energy, Metals, Meats, Grains, Softs, Bonds, Currencies