cURL
curl --request PUT \ --url https://api.tradearies.dev/v1/orders \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "orderId": 123, "account": "<string>", "symbol": "<string>", "quantity": 123, "orderType": "<string>", "tradeAction": "<string>", "timeInForce": "<string>", "route": "<string>", "limitPrice": "<string>", "stopPrice": "<string>", "legs": [ { "symbol": "<string>", "ratioQuantity": "<string>", "tradeAction": "<string>", "positionEffect": "<string>" } ] }'
{ "orderId": 123, "status": "<string>" }
Update an existing order
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Order updated successfully
The response is of type object.
object
Was this page helpful?