Skip to main content

Retail Prices


Implementation details​

Class names​

Model nameParameters classData class
RetailPricesRetailPricesQueryParamsRetailPricesData

Import Statement​

from openbb_core.provider.standard_models.retail_prices import (
RetailPricesData,
RetailPricesQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
itemstrThe item or basket of items to query.NoneTrue
countrystrThe country to get data.united_statesTrue
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, 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.
symbolstrSymbol representing the entity requested in the data.
countrystr
descriptionstrDescription of the item.
valuefloatPrice, or change in price, per unit.