Paper trading

Reset this book to $10,000

Body {"confirm":true}. Closed trades are archived (never deleted), resting orders cancelled, the report / ledger / equity curve restart from the reset. Refused (409 open_positions_exist) while positions are open - close them first.

post/api/bot/v1/reset

Request

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

Request body

confirmboolean required

Example request

{
  "confirm": true
}

Response

{ ok, reset_ts, archived_trades, cancelled_orders, starting_balance_usd }

Changes

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