Etf Price Performance
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
EtfPricePerformance | EtfPricePerformanceQueryParams | EtfPricePerformanceData |
Import Statement
from openbb_core.provider.standard_models. import (
EtfPricePerformanceData,
EtfPricePerformanceQueryParams,
)
Parameters
- standard
- finviz
- fmp
- intrinio
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): finviz, fmp, intrinio. | False | |
| provider | Literal['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. | finviz | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): finviz, fmp, intrinio. | False | |
| provider | Literal['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. | finviz | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): finviz, fmp, intrinio. | False | |
| provider | Literal['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. | finviz | True |
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| symbol | Union[str, List[str]] | Symbol to get data for. Multiple items allowed for provider(s): finviz, fmp, intrinio. | False | |
| provider | Literal['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. | finviz | True |
| return_type | Literal['trailing', 'calendar'] | The type of returns to return, a trailing or calendar window. | trailing | True |
| adjustment | Literal['splits_only', 'splits_and_dividends'] | The adjustment factor, 'splits_only' will return pure price performance. | splits_and_dividends | True |
Data
- standard
- finviz
- fmp
- intrinio
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| one_day | float | One-day return. |
| wtd | float | Week to date return. |
| one_week | float | One-week return. |
| mtd | float | Month to date return. |
| one_month | float | One-month return. |
| qtd | float | Quarter to date return. |
| three_month | float | Three-month return. |
| six_month | float | Six-month return. |
| ytd | float | Year to date return. |
| one_year | float | One-year return. |
| two_year | float | Two-year return. |
| three_year | float | Three-year return. |
| four_year | float | Four-year |
| five_year | float | Five-year return. |
| ten_year | float | Ten-year return. |
| max | float | Return from the beginning of the time series. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| one_day | float | One-day return. |
| wtd | float | Week to date return. |
| one_week | float | One-week return. |
| mtd | float | Month to date return. |
| one_month | float | One-month return. |
| qtd | float | Quarter to date return. |
| three_month | float | Three-month return. |
| six_month | float | Six-month return. |
| ytd | float | Year to date return. |
| one_year | float | One-year return. |
| two_year | float | Two-year return. |
| three_year | float | Three-year return. |
| four_year | float | Four-year |
| five_year | float | Five-year return. |
| ten_year | float | Ten-year return. |
| max | float | Return from the beginning of the time series. |
| volatility_week | float | One-week realized volatility, as a normalized percent. |
| volatility_month | float | One-month realized volatility, as a normalized percent. |
| price | float | Last Price. |
| volume | float | Current volume. |
| average_volume | float | Average daily volume. |
| relative_volume | float | Relative volume as a ratio of current volume to average volume. |
| analyst_recommendation | float | The analyst consensus, on a scale of 1-5 where 1 is a buy and 5 is a sell. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| one_day | float | One-day return. |
| wtd | float | Week to date return. |
| one_week | float | One-week return. |
| mtd | float | Month to date return. |
| one_month | float | One-month return. |
| qtd | float | Quarter to date return. |
| three_month | float | Three-month return. |
| six_month | float | Six-month return. |
| ytd | float | Year to date return. |
| one_year | float | One-year return. |
| two_year | float | Two-year return. |
| three_year | float | Three-year return. |
| four_year | float | Four-year |
| five_year | float | Five-year return. |
| ten_year | float | Ten-year return. |
| max | float | Return from the beginning of the time series. |
| Name | Type | Description |
|---|---|---|
| symbol | str | Symbol representing the entity requested in the data. |
| one_day | float | One-day return. |
| wtd | float | Week to date return. |
| one_week | float | One-week return. |
| mtd | float | Month to date return. |
| one_month | float | One-month return. |
| qtd | float | Quarter to date return. |
| three_month | float | Three-month return. |
| six_month | float | Six-month return. |
| ytd | float | Year to date return. |
| one_year | float | One-year return. |
| two_year | float | Two-year return. |
| three_year | float | Three-year return. |
| four_year | float | Four-year |
| five_year | float | Five-year return. |
| ten_year | float | Ten-year return. |
| max | float | Return from the beginning of the time series. |
| max_annualized | float | Annualized rate of return from inception. |
| volatility_one_year | float | Trailing one-year annualized volatility. |
| volatility_three_year | float | Trailing three-year annualized volatility. |
| volatility_five_year | float | Trailing five-year annualized volatility. |
| volume | int | The trading volume. |
| volume_avg_30 | float | The one-month average daily volume. |
| volume_avg_90 | float | The three-month average daily volume. |
| volume_avg_180 | float | The six-month average daily volume. |
| beta | float | Beta compared to the S&P 500. |
| nav | float | Net asset value per share. |
| year_high | float | The 52-week high price. |
| year_low | float | The 52-week low price. |
| market_cap | float | The market capitalization. |
| shares_outstanding | int | The number of shares outstanding. |
| updated | date | The date of the data. |