Skip to main content

Discount Window Primary Credit Rate


Implementation details​

Class names​

Model nameParameters classData class
DiscountWindowPrimaryCreditRateDiscountWindowPrimaryCreditRateQueryParamsDiscountWindowPrimaryCreditRateData

Import Statement​

from openbb_core.provider.standard_models.dwpcr_rates import (
DiscountWindowPrimaryCreditRateData,
DiscountWindowPrimaryCreditRateQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]End date of the data, in YYYY-MM-DD format.NoneTrue
providerLiteral['fred']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'fred' if there is no default.fredTrue

Data​

NameTypeDescription
datedateThe date of the data.
ratefloatDiscount Window Primary Credit Rate.