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[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
maturityLiteral['10y', '5y', '1y', '6m', '3m']The maturity10yTrue
providerLiteral['fred']The provider to use, by default None. If None, the priority list configured in the settings is used. Default priority: fred.NoneTrue

Data​

NameTypeDescription
datedateThe date of the data.
ratefloatSelected Treasury Constant Maturity Rate.