Skip to main content

Etf Price Performance


Implementation details

Class names

Model nameParameters classData class
EtfPricePerformanceEtfPricePerformanceQueryParamsEtfPricePerformanceData

Import Statement

from openbb_core.provider.standard_models. import (
EtfPricePerformanceData,
EtfPricePerformanceQueryParams,
)

Parameters

NameTypeDescriptionDefaultOptional
symbolUnion[str, List[str]]Symbol to get data for. Multiple items allowed for provider(s): finviz, fmp, intrinio.False
providerLiteral['finviz', 'fmp', 'intrinio']The provider to use for the query, by default None. If None, the provider specified in defaults is selected or 'finviz' if there is no default.finvizTrue

Data

NameTypeDescription
symbolstrSymbol representing the entity requested in the data.
one_dayfloatOne-day return.
wtdfloatWeek to date return.
one_weekfloatOne-week return.
mtdfloatMonth to date return.
one_monthfloatOne-month return.
qtdfloatQuarter to date return.
three_monthfloatThree-month return.
six_monthfloatSix-month return.
ytdfloatYear to date return.
one_yearfloatOne-year return.
two_yearfloatTwo-year return.
three_yearfloatThree-year return.
four_yearfloatFour-year
five_yearfloatFive-year return.
ten_yearfloatTen-year return.
maxfloatReturn from the beginning of the time series.