Calendar Splits
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
CalendarSplits | CalendarSplitsQueryParams | CalendarSplitsData |
Import Statement
from openbb_core.provider.standard_models.calendar_splits import (
CalendarSplitsData,
CalendarSplitsQueryParams,
)
Parameters
- standard
- fmp
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
| end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
| provider | Literal['fmp'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default. | fmp | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| start_date | Union[date, str] | Start date of the data, in YYYY-MM-DD format. | None | True |
| end_date | Union[date, str] | End date of the data, in YYYY-MM-DD format. | None | True |
| provider | Literal['fmp'] | The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fmp' if there is no default. | fmp | True |
Data
- standard
- fmp
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| label | str | Label of the stock splits. |
| symbol | str | Symbol representing the entity requested in the data. |
| numerator | float | Numerator of the stock splits. |
| denominator | float | Denominator of the stock splits. |
| Name | Type | Description |
|---|---|---|
| date | date | The date of the data. |
| label | str | Label of the stock splits. |
| symbol | str | Symbol representing the entity requested in the data. |
| numerator | float | Numerator of the stock splits. |
| denominator | float | Denominator of the stock splits. |