Skip to main content

Selected Treasury Constant Maturity


Implementation details​

Class names​

Model nameParameters classData class
SelectedTreasuryConstantMaturitySelectedTreasuryConstantMaturityQueryParamsSelectedTreasuryConstantMaturityData

Import Statement​

from openbb_core.provider.standard_models.ffrmc import (
SelectedTreasuryConstantMaturityData,
SelectedTreasuryConstantMaturityQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
start_dateUnion[str, date]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[str, date]End date of the data, in YYYY-MM-DD format.NoneTrue
maturityLiteral['10y', '5y', '1y', '6m', '3m']The maturity10yTrue
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.
ratefloatSelected Treasury Constant Maturity Rate.