Reset account
reset_accountDelete all trades, positions, and orders for a paper account and reset its balance to start over. This irreversible local action prepares the account for a new starting balance.
Instructions
Delete an account's trades, positions and orders and reset its balance.
Irreversible local change. Use init_account to set a new starting balance afterwards; use cancel_all_orders to remove only pending orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Paper account name; any name without '/', '\', '..' or surrounding spaces. Each name is a separate local account. Default 'default'. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |