# Last Trades Feed

Use this stream for the latest public trades across the platform.

### Endpoint

```
wss://history-service.outpoll.com/last-trades/ws
```

### Authentication

No authentication required.

### Subscription

No subscribe message required.

Connect and start reading messages.

### Notes

* This is a public broadcast stream.
* Reconnect and continue consuming on disconnect.
* Payloads represent the latest completed trades.

### Python example

{% code title="last\_trades.py" %}

```python
import asyncio, json, websockets

async def last_trades():
    uri = "wss://history-service.outpoll.com/last-trades/ws"
    async with websockets.connect(uri) as ws:
        async for msg in ws:
            print(json.loads(msg))
```

{% endcode %}
