TradeStation · AsyncAPI Specification
TradeStation Streaming API
Version 3.0
The TradeStation Streaming API provides real-time HTTP streaming endpoints for market data and brokerage events. Streams use HTTP chunked transfer encoding with newline-delimited JSON objects. Each stream maintains a persistent HTTP connection that delivers updates as they occur, significantly reducing network latency compared to polling. Streams consist of a series of chunks containing individual JSON objects parsed separately using the newline character delimiter. TradeStation streams can terminate under certain conditions, unlike canonical HTTP/1.1 streams. The streaming content type is application/vnd.tradestation.streams.v3+json.
View Spec
View on GitHub
BrokerageCryptocurrencyFinanceFuturesMarket DataOptionsStocksTradingAsyncAPIWebhooksEvents
Channels
/v3/marketdata/stream/quotes/{symbols}
Stream quote changes
Streams real-time quote changes for one or more symbols. Delivers updated bid, ask, last price, volume, and other quote fields as they change. Only changed fields are sent in subsequent updates after the initial snapshot.
/v3/marketdata/stream/barcharts/{symbol}
Stream bar chart data
Streams real-time bar chart data (OHLC) for a given symbol. Delivers bar updates as they form including open, high, low, close, volume, and tick count information. Supports minute, daily, weekly, and monthly intervals.
/v3/marketdata/stream/options/chains/{underlying}
Stream option chain
Streams real-time option chain data for a given underlying symbol. Delivers updates to option quotes across multiple expirations and strikes as they change.
/v3/marketdata/stream/options/quotes
Stream option quotes
Streams real-time quote data for specific option contracts. Delivers bid, ask, last price, greeks, and other option-specific data as it changes.
/v3/marketdata/stream/marketdepth/aggregates/{symbol}
Stream market depth aggregates
Streams real-time aggregated market depth data for a symbol. Delivers updates to the order book showing aggregated bid and ask quantities at each price level.
/v3/brokerage/stream/accounts/{accountIds}/orders
Stream order updates
Streams real-time order status updates for one or more brokerage accounts. Delivers order state changes including fills, partial fills, cancellations, and rejections as they occur.
/v3/brokerage/stream/accounts/{accountIds}/orders/{orderIds}
Stream specific order updates
Streams real-time status updates for specific orders by order identifier. Delivers state changes for the specified orders only.
/v3/brokerage/stream/accounts/{accountIds}/positions
Stream position updates
Streams real-time position updates for one or more brokerage accounts. Delivers changes to position quantities, market values, and profit/loss as they occur throughout the trading session.
/v3/brokerage/stream/accounts/{accountId}/wallets
Stream wallet updates
Streams real-time cryptocurrency wallet updates for a specific brokerage account. Delivers changes to wallet balances and available amounts.
Messages
QuoteUpdate
Quote Update
A real-time quote update for a symbol with changed fields.
BarUpdate
Bar Chart Update
A real-time bar chart update with OHLC data.
OptionChainUpdate
Option Chain Update
A real-time option chain update for an underlying symbol.
OptionQuoteUpdate
Option Quote Update
A real-time quote update for specific option contracts.
MarketDepthUpdate
Market Depth Update
A real-time aggregated market depth update showing order book bid and ask levels.
OrderUpdate
Order Update
A real-time order status update for a brokerage account.
PositionUpdate
Position Update
A real-time position update for a brokerage account.
WalletUpdate
Wallet Update
A real-time cryptocurrency wallet update.
Servers
https
production
https://api.tradestation.com
TradeStation production streaming server. Uses HTTP chunked transfer encoding for real-time data delivery.
https
simulator
https://sim-api.tradestation.com
TradeStation simulator streaming server for paper trading and development testing.