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

# Trade Executions

> Stream real-time trade executions with taker side, price range, volume, and VWAP per symbol.

## Overview

The trade stream provides real-time executions with taker side, minimum and maximum prices, volume, and VWAP for each update.

## Channel information

| Property             | Value                    |
| -------------------- | ------------------------ |
| **Channel Name**     | `trade`                  |
| **Authentication**   | Required                 |
| **Update Frequency** | Per trade                |
| **Data Type**        | Trade execution snapshot |

## Subscribe

<RequestExample>
  ```json Subscribe theme={null}
  {
    "op": "subscribe",
    "args": [
      { "channel": "trade", "symbol": "US500-BTC" },
      { "channel": "trade", "symbol": "GOLD-BTC" },
      { "channel": "trade", "symbol": "USDT-BTC" }
    ]
  }
  ```
</RequestExample>

## Response format

<ResponseExample>
  ```json Trade Snapshot theme={null}
  {
    "topic": "trade.GOLD-BTC",
    "type": "snapshot",
    "createdTime": 1640995200000000000,
    "data": {
      "symbol": "GOLD-BTC",
      "takerSide": "buy",
      "minPx": "0.00432400",
      "maxPx": "0.00432500",
      "volume": "1247.85",
      "vwap": "0.00432450",
      "timestamp": 1640995200000000000
    }
  }
  ```
</ResponseExample>

<ResponseField name="data" type="object">
  Trade execution data

  <Expandable title="Trade properties">
    <ResponseField name="symbol" type="string">Trading pair symbol</ResponseField>
    <ResponseField name="takerSide" type="string">"buy" or "sell"</ResponseField>
    <ResponseField name="minPx" type="string">Lowest matched price</ResponseField>
    <ResponseField name="maxPx" type="string">Highest matched price</ResponseField>
    <ResponseField name="volume" type="string">Total executed size</ResponseField>
    <ResponseField name="vwap" type="string">Volume-weighted average price</ResponseField>
    <ResponseField name="timestamp" type="integer">Update time in nanoseconds</ResponseField>
  </Expandable>
</ResponseField>
