future
Get futures data. [Source: Finviz]
Source Code: [link]
openbb.economy.future(future_type: str = "Indices", sortby: str = "ticker", ascend: bool = False)
Parameters
Name | Type | Description | Default | Optional |
---|---|---|---|---|
future_type | str | From the following: Indices, Energy, Metals, Meats, Grains, Softs, Bonds, Currencies | Indices | True |
sortby | str | Column to sort by | ticker | True |
ascend | bool | Flag to sort in ascending order | False | True |
Returns
Type | Description |
---|---|
pd.Dataframe | Indices, Energy, Metals, Meats, Grains, Softs, Bonds, Currencies |