API reference - TradingClose all (terminal)The terminal route for flattening an account. POST/api/v1/terminal/close-all Auth accounts:trade Group Trading Note - Idempotency-Key required. More in Trading POST Place an order /api/v1/terminal/place-order POST Close a position /api/v1/terminal/close-position POST Modify a position /api/v1/terminal/modify-position POST Delete a pending order /api/v1/terminal/delete-pending-order POST Closed positions /api/v1/terminal/get-closed-positions