Skip to main content

Create Market order

POST 

/commandapi/warptrans/TRADE/v2/client/orders/actions/market

The request creates a market 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.

Alternative request

The same operation can be performed using WebSocket request.

Request

Responses

Request processed successfully