Subscription Request
Subscribe method. Must be
subscribeArray of topics to subscribe to. Format:
ticker@BASE_QUOTEExample: ["ticker@ETH_BRL"]Stream Response
Each WebSocket message includes a sequential numeric id. Each topic has its own unique sequence, and for private topics, the sequence is unique to each topic and user. It’s important to note that some topics will send a “welcome message”, which will have an id value of -1. Additionally, this sequence may be reset between connections, so be sure to update this value locally whenever you reconnect.
Topic name (format:
ticker@BASE_QUOTE)Timestamp in milliseconds
Ticker details object
Subscription Example
Stream Response Example
Multiple Pairs Example
Update Frequency
- Default: Every 30 seconds
- On Change: Immediately when a trade happens, order is opened/canceled
- Time Window: All statistics are for the last 24 hours
Key Metrics
| Metric | Description |
|---|---|
| Ask/Bid | Current market price levels |
| Spread | Difference between ask and bid |
| High/Low | Price extremes in 24h period |
| First/Last | Opening and closing prices (24h) |
| Volume | Total quantity traded in base currency |
| Quote Volume | Total value traded in quote currency |
| Trades Qty | Number of individual trades |
| Price Change % | Percentage change from first to last |
Calculation Examples
Usage Notes
- 24-hour Window: All metrics reset every 24 hours
- Real-time Updates: Statistics update as new trades execute
- Conversions: Multiple currency conversions included
- Volume Metrics: Both base and quote currency volumes provided
- Price Stability: Compare high/low to assess price stability
Use Cases
- Real-time Ticker Display: Show current market prices and 24h stats
- Technical Analysis: Use high/low/open/close for candlestick charts
- Market Overview: Display key statistics for pair comparison
- Alert Triggers: Alert when price change exceeds threshold
- Trading Decisions: Use volume and volatility for entry/exit signals