API reference - Accounts
Close all positions
Flatten every open position on the account.
POST/api/v1/accounts/{account_id}/close-all
Response
{ "success": true, "data": { "closed_count": 3, "success": true } }Note - Requires Idempotency-Key.
Search every page of the Trade Wzrd docs