Improved

Documented values for stock trade "u" and crypto trade "tks"

Market Data API

The trade schemas now document the exact values the API returns and accepts. The wire contract is unchanged.

  • u on the stock trade schema uses the new stock_trade_update enum: canceled, incorrect, and corrected.
  • tks on the crypto trade schema uses the new crypto_taker_side enum: B, S, and - when the taker side is unknown.

Affected Endpoints

  • GET /v2/stocks/trades
  • GET /v2/stocks/{symbol}/trades
  • GET /v2/stocks/trades/latest
  • GET /v2/stocks/{symbol}/trades/latest
  • GET /v2/stocks/snapshots
  • GET /v2/stocks/{symbol}/snapshot
  • GET /v1beta3/crypto/{loc}/trades
  • GET /v1beta3/crypto/{loc}/latest/trades
  • GET /v1beta3/crypto/{loc}/snapshots