cURL
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
Dynamic authentication JWT token
buy
sell
market
limit
Required for limit orders
Order created successfully