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.


Field Description
id Unique identifier for the order
type Single-leg, One of: market, limit, stop, stop_limit
Multi-leg, One of: market, debit, credit, even
symbol Security symbol or underlying security symbol
side Equity, One of: buy, buy_to_cover, sell, sell_short
Option, One of: buy_to_open, buy_to_close, sell_to_open, sell_to_close
quantity Number of shares or contracts
status One of: open, partially_filled, filled, expired, canceled, pending, rejected, error
duration One of: day, pre, post, gtc
price Limit price
avg_fill_price Average fill price
exec_quantity Total number of shares/contracts filled
last_fill_price Last fill price
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
class One of: equity, option, combo, multileg
strategy One of: freeform, covered_call, protective_put, strangle, straddle, spread, collar, butterfly, condor, unknown
option_symbol OCC option symbol
stop_price Stop price
reason_description Rejection details
tag Order tag if available