paper_replay
Backtest with the real routes: replay one past UTC day on MarginPad’s 1-minute candles. With symbol+day it STARTS a replay (speed = market seconds per real second, 1-600, default 60): from then on paper_open / paper_positions / paper_close act on a separate replay journal priced at the candle under the cursor, with stops, targets and liquidations checked on every candle. With no arguments it reads the status (cursor, price, progress, candles up to the cursor). With act "stop" it closes everything at the cursor and returns the summary. Requires an API key.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | No | "stop" ends the replay and returns the summary | |
| day | No | Start: a complete past UTC day, YYYY-MM-DD | |
| speed | No | Start: 1-600, default 60 | |
| symbol | No | Start: the market, e.g. BTC |