Sonia
Implementation details
Class names
Model name | Parameters class | Data class |
---|---|---|
SONIA | SONIAQueryParams | SONIAData |
Import Statement
from openbb_core.provider.standard_models.sonia_rates import (
SONIAData,
SONIAQueryParams,
)
Parameters
- standard
- fred
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 |
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 |
parameter | Literal['rate', 'index', '10th_percentile', '25th_percentile', '75th_percentile', '90th_percentile', 'total_nominal_value'] | Period of SONIA rate. | rate | True |
Data
- standard
- fred
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
rate | float | SONIA rate. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
rate | float | SONIA rate. |