KB / api
POST /api/v1/trading/admin/accounts/{account_id}/reset
Last verified
Auto-generated. This article is rebuilt from FastAPI route introspection by
scripts/build_api_kb.py. Edit the route docstring inapp/and re-run the script — do not edit this file directly.
POST /api/v1/trading/admin/accounts/{account_id}/reset
Handler: app.trading.routes.reset_account
Methods: POST
Description
Reset an account: clear all positions, cancel pending trades, reset balance to $1,000, preserve history.
Parameters
| In | Name | Type | Default | Description |
|---|---|---|---|---|
| path | account_id | int | PydanticUndefined |
Curl
curl -s https://bigclawd.com/api/v1/trading/admin/accounts/{account_id}/reset