curl --request POST \
--url http://localhost:14400/api/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"symbol": "<string>",
"side": "buy",
"type": "market",
"quantity": 123,
"price": 123
}'
{
"orderId": "<string>",
"status": "<string>"
}
Create a new trading order
curl --request POST \
--url http://localhost:14400/api/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"symbol": "<string>",
"side": "buy",
"type": "market",
"quantity": 123,
"price": 123
}'
{
"orderId": "<string>",
"status": "<string>"
}
Dynamic authentication JWT token
Order created successfully
The response is of type object
.