Skip to main content
Stop an active trading agent to prevent it from opening new positions. Existing open positions remain active and will continue to be managed by stop loss, trailing stop, and take profit rules until they close or you close them manually.

Endpoint

Path parameters

string
required
Unique identifier of the agent to stop.

Example request

Response

Returns the agent object with its updated status set to idle.
string
Unique agent identifier.
string
idle when the agent has stopped successfully.
integer
Unix timestamp when the agent transitioned to idle.

Example response

If the agent is already idle, the API returns 409 Conflict.