dpcredit
Discount Window Primary Credit Rate.
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board of Governors set the bank rate, also known as the discount rate.
Examples
from openbb import obb
obb.fixedincome.rate.dpcredit(provider='fred')
obb.fixedincome.rate.dpcredit(start_date='2023-02-01', end_date='2023-05-01', provider='fred')
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['daily_excl_weekend', 'monthly', 'weekly', 'daily', 'annual'] | FRED series ID of DWPCR data. | daily_excl_weekend | True |
Returns
OBBject
results : List[DiscountWindowPrimaryCreditRate]
Serializable results.
provider : Optional[Literal['fred']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
Data
- standard
- fred
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
rate | float | Discount Window Primary Credit Rate. |
Name | Type | Description |
---|---|---|
date | Union[date, str] | The date of the data. |
rate | float | Discount Window Primary Credit Rate. |