Tmx Etf Historical
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
TmxEtfHistorical | TmxEtfHistoricalQueryParams | TmxEtfHistoricalData |
Import Statement
from openbb_core.provider.standard_models. import (
TmxEtfHistoricalData,
TmxEtfHistoricalQueryParams,
)
Parameters
- standard
- tmx
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): tmx.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
symbol: str | list[str]
Symbol to get data for. Multiple items allowed for provider(s): tmx.
start_date: date | None | str
Start date of the data, in YYYY-MM-DD format.
end_date: date | None | str
End date of the data, in YYYY-MM-DD format.
interval: str | None
Default: day
Time interval of the data to return. Or, any integer (entered as a string) representing the number of minutes. Default is daily data. There is no extended hours data, and intraday data is limited to after April 12 2022.
adjustment: str | None
Default: splits_only
The adjustment factor to apply. Only valid for daily data.
Data
- standard
- tmx
date: date | datetime | str
The date of the data.
open: float
The open price.
high: float
The high price.
low: float
The low price.
close: float
The close price.
volume: float | int | None
The trading volume.
vwap: float | None
Volume Weighted Average Price over the period.
date: date | datetime | str
The date of the data.
open: float
The open price.
high: float | None
The high price. The feed leaves it empty on a handful of historical foreign bars.
low: float | None
The low price. The feed leaves it empty on a handful of historical foreign bars.
close: float
The close price.
volume: float | int | None
The trading volume.
vwap: float | None
Volume weighted average price for the day.
change: float | None
Change in price.
change_percent: float | None
Change in price, as a normalized percentage.
transactions: int | None
Total number of transactions recorded.
transactions_value: float | None
Nominal value of recorded transactions.