Search documentation

Search every page of the Trade Wzrd docs

API reference - Accounts

Close all positions

Flatten every open position on the account.

POST/api/v1/accounts/{account_id}/close-all

Auth accounts:trade

Group Accounts

Response

{ "success": true, "data": { "closed_count": 3, "success": true } }

Note - Requires Idempotency-Key.