Request Trades data
Trades Data Request
Topic:
str
Subscribes the user to trades data. This will return all executions data while streamed.
Arguments:
realtimeUpdatesOnly: bool. Optional
Decide whether you want to display any historical executions, or only the executions available in real time.
Set to false by default.
days: int. Optional
Returns the number of days of executions for data to be returned.
Set to 1 by default.
Trades Data Response
topic: String.
Returns the topic of the given request.
args: Object.
Returns the object containing the pnl data.
execution_id: String.
Execution identifier of the specific trade.
symbol: String.
Ticker symbol of the traded contract.
supports_tax_opt: String.
Determines if the contract supports the tax optimizer. Client Portal only.
side: String.
Determines if the order was a buy or sell side.
order_description: String.
Describes the full content of the order.
Value format: “{SIDE} {SIZE} @ {PRICE} on {EXCHANGE}”
trade_time: String.
Traded date time in UTC.
Value format: “YYYYMMDD-HH:mm:ss”
trade_time_r: int.
Traded datetime of the execution in epoch time.
size: float.
Returns the quantity of shares traded.
order_ref: string.
Returns the custom order identifier (cOID) from order placement.
price: String.
Returns the price used for the given trade.
exchange: String.
Returns the exchange the order executed at.
net_amount: float.
Returns the total amount traded after calculating multiplier.
account: String.
Returns the account the order was traded on.
accountCode: String.
Returns the account the order was traded on.
company_name: String.
Returns the title of the company for the contract.
contract_description_1: String.
Returns the underlying symbol of the contract.
contract_description_2: String.
Returns a full description of the derivative.
sec_type: String.
Returns the security type traded.
conid: int.
Contract identifier for the traded contract.
conidEx: String.
Returns the conidEx of the order if specified. Otherwise returns conid.
open_close: String.
Returns if the execution was a closing trade.
Returns ”???” if the position was already open, but not a closing order.
liquidation_trade: String.
Returns if the trade was a result of liquidation.
is_event_trading: String.
Determines if the order can be used with EventTrader.

