- Topic:
kline.<interval>.<symbol>(e.g.,kline.1m.BTC-USDC) - Stream: Public (
wss://api.ekiden.fi/ws/public)
Subscribe
Events
Messages arrive withop: "event", topic: "kline.<interval>.<symbol>", and data is a KlineSnapshot.
Example:
tandTare Unix timestamps in milliseconds (encoded as strings).- Price and volume fields are strings to preserve precision.
server_ts_msis the gateway processing time in milliseconds.
Intervals
Common intervals include:1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d, 3d, 1w, 1M.
Fields
| Field | Type | Notes |
|---|---|---|
| t | string | Candle open time (ms) |
| i | string | Candle interval/timeframe |
| o | string | Open price |
| h | string | High price |
| l | string | Low price |
| c | string | Close price |
| T | string | Candle close time (ms) |
| v | string | Volume |
| n | string | Trade count |
KlineSnapshot.