Skip to main content

SP500 Multiples


Implementation details​

Class names​

Model nameParameters classData class
SP500MultiplesSP500MultiplesQueryParamsSP500MultiplesData

Import Statement​

from openbb_core.provider.standard_models.sp500_multiples import (
SP500MultiplesData,
SP500MultiplesQueryParams,
)

Parameters​

NameTypeDescriptionDefaultOptional
series_nameLiteral['shiller_pe_month', 'shiller_pe_year', 'pe_year', 'pe_month', 'dividend_year', 'dividend_month', 'dividend_growth_quarter', 'dividend_growth_year', 'dividend_yield_year', 'dividend_yield_month', 'earnings_year', 'earnings_month', 'earnings_growth_year', 'earnings_growth_quarter', 'real_earnings_growth_year', 'real_earnings_growth_quarter', 'earnings_yield_year', 'earnings_yield_month', 'real_price_year', 'real_price_month', 'inflation_adjusted_price_year', 'inflation_adjusted_price_month', 'sales_year', 'sales_quarter', 'sales_growth_year', 'sales_growth_quarter', 'real_sales_year', 'real_sales_quarter', 'real_sales_growth_year', 'real_sales_growth_quarter', 'price_to_sales_year', 'price_to_sales_quarter', 'price_to_book_value_year', 'price_to_book_value_quarter', 'book_value_year', 'book_value_quarter']The name of the series. Defaults to 'pe_month'.pe_monthTrue
start_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
end_dateUnion[date, str]Start date of the data, in YYYY-MM-DD format.NoneTrue
transformLiteral['diff', 'rdiff', 'cumul', 'normalize']Transform the data as difference, percent change, cumulative, or normalize.NoneTrue
collapseLiteral['daily', 'weekly', 'monthly', 'quarterly', 'annual']Collapse the frequency of the time series.NoneTrue
providerLiteral['nasdaq']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'nasdaq' if there is no default.nasdaqTrue

Data​

NameTypeDescription
datedateThe date of the data.