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 Ratio by Month', 'Shiller PE Ratio by Year', 'PE Ratio by Year', 'PE Ratio by Month', 'Dividend by Year', 'Dividend by Month', 'Dividend Growth by Quarter', 'Dividend Growth by Year', 'Dividend Yield by Year', 'Dividend Yield by Month', 'Earnings by Year', 'Earnings by Month', 'Earnings Growth by Year', 'Earnings Growth by Quarter', 'Real Earnings Growth by Year', 'Real Earnings Growth by Quarter', 'Earnings Yield by Year', 'Earnings Yield by Month', 'Real Price by Year', 'Real Price by Month', 'Inflation Adjusted Price by Year', 'Inflation Adjusted Price by Month', 'Sales by Year', 'Sales by Quarter', 'Sales Growth by Year', 'Sales Growth by Quarter', 'Real Sales by Year', 'Real Sales by Quarter', 'Real Sales Growth by Year', 'Real Sales Growth by Quarter', 'Price to Sales Ratio by Year', 'Price to Sales Ratio by Quarter', 'Price to Book Value Ratio by Year', 'Price to Book Value Ratio by Quarter', 'Book Value per Share by Year', 'Book Value per Share by Quarter']The name of the series. Defaults to 'PE Ratio by Month'."PE Ratio by Month"True
start_datestrStart date of the data, in YYYY-MM-DD format.True
end_datestrEnd date of the data, in YYYY-MM-DD format.True
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."nasdaq"True

Data​

NameTypeDescription
datedateThe date of the data.