> For the complete documentation index, see [llms.txt](https://ajaib.gitbook.io/ajaib-exchange-open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajaib.gitbook.io/ajaib-exchange-open-api/websocket-references/web-socket-streams/exchange-trades.md).

# Exchange Trades

**Functionality:** To subscribe exchange trades event stream.

**Authentication:** Required

**Stream Name:** \<symbol>@trade

**Update Time:** Real-time

Response

<table><thead><tr><th width="145">Name</th><th width="210">Type</th><th>Description</th></tr></thead><tbody><tr><td>e</td><td>string</td><td>Websocket event type.</td></tr><tr><td>E</td><td>long</td><td>Timestamp of when trade is generated or match execution. Using UTC timezone in unix epoch.</td></tr><tr><td>t</td><td>string</td><td>Trade ID</td></tr><tr><td>s</td><td>string</td><td>The trading pair symbol. Refer to <a href="https://ajaib.gitbook.io/coin-exchange-open-api/getting-started/quickstart#:~:text=Asset%20Symbols%20/%20Trading%20Pairs">this</a>.</td></tr><tr><td>p</td><td>string</td><td>Price of trade / match execution.</td></tr><tr><td>q</td><td>string</td><td>Quantity of trade / match execution.</td></tr></tbody></table>

Response Sample

{% tabs %}
{% tab title="Success" %}

```javascript
{
  "e": "trade",
  "E": 1672515782136,
  "s": "BNB_BTC",
  "t": "d66b4db6-fb03-4d89-baf6-666cc845df52",
  "p": "0.001",
  "q": "100",
}
```

{% endtab %}
{% endtabs %}
