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
start_date: date | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | str
End date of the data, in YYYY-MM-DD format.
start_date: date | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | str
End date of the data, in YYYY-MM-DD format.
parameter: Literal['daily_excl_weekend', 'monthly', 'weekly', 'daily', 'annual']
Default: daily_excl_weekend
FRED series ID of DWPCR data.
Returns
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
date: date | str
The date of the data.
rate: float
Discount Window Primary Credit Rate.
date: date | str
The date of the data.
rate: float
Discount Window Primary Credit Rate.