- Topic:
trade.<symbol>(e.g.,trade.BTC-USDC) - Stream: Public (
wss://api.ekiden.fi/ws/public)
Subscribe
Events
Messages arrive withop: "event", topic: "trade.<symbol>", and data containing an array of PublicTrade.
Example:
p(price) andv(size) are strings to preserve precision.Tis the trade timestamp in milliseconds (encoded as a string).server_ts_msis the gateway processing time in milliseconds.
PublicTrade.
Trade ID
Fieldi is a stable string identifier for a given trade and unique within a market.
You can treat i + s as a primary key. Do not assume ordering by i; rely on seq and T.