Overview

Details about how to obtain access tokens using OAuth 2.0

Fetch positions, balances and other account related details.

Place equity and complex option trades including advanced orders.

Fetch quotes, chains and historical data via REST and streaming APIs.

Stream market data and account events in real-time.

Create and update custom watchlists.

Examples, response types, property details and explanations.

Account Streaming Responses

Order Status

The order event is issued when any order is updated. This represents the most current order status available.

Field Description
id Unique identifier for the order
event Event type, One of: order, heartbeat
parent_id Unique identifier for the parent order
account Account number
status Order status, One of: open, partially_filled, filled, expired, canceled, pending, rejected, calculated, accepted_for_bidding, error, held
type Single-leg, One of: market, limit, stop, stop_limit
Multi-leg, One of: market, debit, credit, even
tag Order tag if available
price Limit price
stop_price Stop price
avg_fill_price Average fill price
executed_quantity Total number of shares/contracts filled
last_fill_quantity Last fill quantity
remaining_quantity Number of shares/contracts remaining
create_date Date the order was created
transaction_date Date the order was last updated