Skip to main content

Realtime Ticks

Route: GET /api/v1/ticks Returns recent tick history for a required symbol. The current implementation merges live Redis buffers with day-partitioned Redis history when needed.

Query Parameters

  • symbol required
  • from optional epoch milliseconds
  • to optional epoch milliseconds
  • limit optional, capped internally

Example

GET /api/v1/ticks?symbol=KXBTCD-26JUN1420&limit=500

Response Shape

{
  "symbol": "KXBTCD-26JUN1420",
  "ticks": [
    { "t": 1719705600123, "p": 0.52 }
  ],
  "count": 1,
  "from": 1719705600000,
  "to": 1719709200000,
  "generated_at": 1719709201000
}