Ticker Subscription
Subscribe to 24-hour rolling window statistics data.
Subscription Format
{symbol}@ticker
Subscribe Request
{
"action": "subscribe",
"streams": ["MSX@ticker"]
}
Push Data Fields
| Field | Description |
|---|---|
| s | Trading pair |
| o | 24h open price |
| h | 24h high price |
| l | 24h low price |
| c | Latest price |
| v | 24h volume |
| q | 24h amount |
| n | 24h number of trades |
| p | 24h price change |
| P | 24h price change % |
| w | 24h weighted average price |
| E | Event timestamp |
Push Example
{
"action": "ticker",
"result": {
"s": "MSX",
"o": "10.00",
"h": "10.50",
"l": "9.80",
"c": "10.25",
"v": "1000000",
"q": "10250000",
"n": 5678,
"p": "0.25",
"P": "2.50",
"w": "10.15",
"E": 1736163000000
}
}