---
title: "Reset this book to $10,000"
method: POST
path: "/api/bot/v1/reset"
tags: ["Paper trading"]
---

# Reset this book to $10,000

`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`

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.

## Request body

- object
  - `confirm` boolean, required

## Response `200`

{ ok, reset_ts, archived_trades, cancelled_orders, starting_balance_usd }

## Other responses

- `400`: confirm_required
- `409`: open_positions_exist

---

[API](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api.md) · [All operations](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marginpad/apis/marginpad-free-crypto-api/revisions/27d21fcd0bf0?raw)
