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

# useMarketTradeStream

> Hook to stream recent trade executions for a given symbol via WebSocket.

Subscribe to [trades](/sdks/tech-doc/interfaces/orderly_network_types.API.Trade) via Websockets for a given symbol.

* [Tech docs](/sdks/tech-doc/modules/orderly_network_hooks#usemarkettradestream)

### Example

```tsx theme={null}
const { data, isLoading } = useMarketTradeStream(symbol);
```

The returned data is an array of objects containing the following fields:

```json theme={null}
{
  "price": 95731.5,
  "side": "SELL",
  "size": 0.1,
  "ts": 1732805310368
}
```
