Skip to content

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 in app/ 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

InNameTypeDefaultDescription
pathaccount_idintPydanticUndefined

Curl

curl -s https://bigclawd.com/api/v1/trading/admin/accounts/{account_id}/reset