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[str, date] | A specific date to get data for. | None | True |
| provider | Literal['cboe', 'yfinance'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default. | cboe | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Symbol to get data for. | False | |
| date | Union[str, date] | A specific date to get data for. | None | True |
| provider | Literal['cboe', 'yfinance'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default. | cboe | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | str | Symbol to get data for. | False | |
| date | Union[str, date] | A specific date to get data for. | None | True |
| provider | Literal['cboe', 'yfinance'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'cboe' if there is no default. | cboe | 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. |