Paper trading

Replay status, price and candles

While a replay runs on this key’s book: cursor (market time), the price under it, progress, finished, and the candles up to the cursor. ?interval=1|5|15|60|240 (minutes), ?bars=1-500.

get/api/bot/v1/replay

Request

  • Base URL: https://marginpad.io
  • URL: https://marginpad.io/api/bot/v1/replay
  • Auth: API key in header X-API-Key

Query parameters

intervalstring

Candle size in minutes (aggregated from 1m).

barsstring

How many candles up to the cursor.

Response

{ running, symbol, day, speed, cursor_ts, cursor_iso, progress_pct, price, finished, bars:[{time,open,high,low,close}] }

Changes

No recorded changes to this operation across all 1 revision of this API.