API reference - Trading
Close a position
Full or partial close by ticket.
POST/api/v1/terminal/close-position
Request
{ "account_id": "...", "ticket": "123456789", "volume": 0.05 }Note - TradeLocker reports the requested volume, not the fill - remaining_volume is computed and the authoritative value arrives over the socket.







