Futures Curve
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
FuturesCurve | FuturesCurveQueryParams | FuturesCurveData |
Import Statement
from openbb_core.provider.standard_models.futures_curve import (
FuturesCurveData,
FuturesCurveQueryParams,
)
Parameters
- standard
- cboe
- yfinance
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Symbol to get data for. | False | |
| date | Union[date, str] | A specific date to get data for. | None | True |
| provider | Literal['cboe', 'yfinance'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: cboe, yfinance. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Symbol to get data for. | False | |
| date | Union[date, str] | A specific date to get data for. | None | True |
| provider | Literal['cboe', 'yfinance'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: cboe, yfinance. | None | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Symbol to get data for. | False | |
| date | Union[date, str] | A specific date to get data for. | None | True |
| provider | Literal['cboe', 'yfinance'] | The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: cboe, yfinance. | None | True |
Data
- standard
- cboe
- yfinance
| Name | Type | Description |
|---|---|---|
| expiration | str | Futures expiration month. |
| price | float | The close price. |
| Name | Type | Description |
|---|---|---|
| expiration | str | Futures expiration month. |
| price | float | The close price. |
| symbol | str | The trading symbol for the tenor of future. |
| Name | Type | Description |
|---|---|---|
| expiration | str | Futures expiration month. |
| price | float | The close price. |