curl --request POST \
--url https://api.example.com/api/v1/trade/create \
--header 'Content-Type: application/json' \
--data '
{
"symbol": "<string>",
"type": "<string>",
"quantity": 123,
"leverage": 123,
"slippage": 123,
"takeProfit": 123,
"stopLoss": 123
}
'{
"message": "Order created successfully",
"orderId": "ord_1234567890abcdef"
}
Create a new trading order with specified parameters
curl --request POST \
--url https://api.example.com/api/v1/trade/create \
--header 'Content-Type: application/json' \
--data '
{
"symbol": "<string>",
"type": "<string>",
"quantity": 123,
"leverage": 123,
"slippage": 123,
"takeProfit": 123,
"stopLoss": 123
}
'{
"message": "Order created successfully",
"orderId": "ord_1234567890abcdef"
}
Creates a new trading order for the authenticated user. The order is processed asynchronously through a Redis stream and responds within 3 seconds with the order creation result.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/lakshay-goyal/Exness/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <your_jwt_token>
200 - Order created successfully400 - Missing required parameters or invalid order data401 - Unauthorized - invalid or expired token408 - Request timeout - order creation took longer than 3 seconds500 - Internal server errorcurl -X POST https://api.exness.com/api/v1/trade/create \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"symbol": "BTCUSD",
"type": "BUY",
"quantity": 0.5,
"leverage": 10
}'
{
"message": "Order created successfully",
"orderId": "ord_1234567890abcdef"
}
curl -X POST https://api.exness.com/api/v1/trade/create \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"symbol": "ETHUSD",
"type": "SELL",
"quantity": 2.0,
"leverage": 20,
"slippage": 0.5,
"takeProfit": 1800.00,
"stopLoss": 1950.00
}'
{
"message": "Order created successfully",
"orderId": "ord_fedcba0987654321"
}
curl -X POST https://api.exness.com/api/v1/trade/create \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"symbol": "BTCUSD",
"quantity": 0.5
}'
{
"error": "Missing required parameters: symbol, type, quantity, leverage"
}
{
"error": "Request timeout: No response received within 3 seconds",
"message": "Order creation request timed out. The order may have been cancelled.",
"timeout": true
}
/api/v1/trade/orders to track open positions/api/v1/trade/close when ready to close the position