> ## Documentation Index
> Fetch the complete documentation index at: https://developer.woox.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Trade

### Topic: trade@`{symbol}`

Push interval: real-time push
Subscribe to trades data. Every update may only contain one trade.

<RequestExample>
  ```bash Subscribed messages theme={null}
  {
    "id": .....
    "cmd": "SUBSCRIBE",
    "params": ["trade@SPOT_BTC_USDT"]
  }
  ```
</RequestExample>

<ResponseExample>
  ```bash theme={null}
  {
      "topic": "trade@SPOT_BTC_USDT",
      "ts": 1618820361552,
      "data": {
          "s": "SPOT_BTC_USDT",  // symbol
          "px": "42598.27",      // price
          "sx": "300",           // size
          "sd": "BUY",           // side
          "src": 0,              // trade source, 1 = internal (trades on WOO X), 0 = external (trades from aggregrated sources)
          "rpi": false,          // matched with RPI orders or not    
          "ts": 1618820361540    // trade generation time in engine
      }
  }
  ```
</ResponseExample>
