Equity Trades
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
EquityTrades | EquityTradesQueryParams | EquityTradesData |
Import Statement
from openbb_core.provider.standard_models. import (
EquityTradesData,
EquityTradesQueryParams,
)
Parameters
- standard
- tmx
symbol: str
Symbol to get data for.
limit: int | None
Default: 50
The number of trades to return, most recent first.
use_cache: bool | None
Default: True
Whether to use the on-disk response cache. Set to False to bypass.
Data
- standard
- tmx
date: datetime | str
The date of the data.
symbol: str
Symbol representing the entity requested in the data.
price: float | None
The price the trade printed at.
volume: int | None
The number of shares traded.
exchange: str | None
The marketplace the trade printed on.
buyer_id: str | None
The broker number on the buy side.
buyer_name: str | None
The broker on the buy side.
seller_id: str | None
The broker number on the sell side.
seller_name: str | None
The broker on the sell side.