Create Stop order
POST/commandapi/warptrans/TRADE/v2/client/orders/actions/stop
The request creates a stop order with the parameters defined in the message body for the specified portfolio.
Private resource
Anonymous execution of this command is prohibited. Provide the valid Access token as the value of the mandatory token
parameter.
Environments
System test environment address is used in the request description as the default. The reason for this is to protect users from accidental operations with real data. Keep this in mind when using interactive description and copying code samples.
You can change the environment in the Request window. Learn more about environments in related article.
Collateral
Conditional orders do not require collateral, but limit and market orders placed by them do. Ensure that at the time the conditional order is triggered, there will be sufficient funds in the portfolio to ensure the exchange order being placed using order estimation request.
Alternative request
The same operation can be performed using WebSocket request.
Request
Responses
- 200
- 400
- 401
Request processed successfully
Failed to execute the query. Check the query syntax and validity of the provided values
Failed to authorize request — JWT
is not specified in the request header, it has expired, or it belongs to a different system environment