cURL
curl --request PUT \ --url https://api.orderly.org/v1/order \ --header 'Content-Type: application/json' \ --header 'orderly-account-id: <orderly-account-id>' \ --header 'orderly-key: <orderly-key>' \ --header 'orderly-signature: <orderly-signature>' \ --header 'orderly-timestamp: <orderly-timestamp>' \ --data '{ "order_id": "<string>", "symbol": "<string>", "client_order_id": "<string>", "order_type": "<string>", "order_price": 123, "order_quantity": 123, "order_amount": 123, "reduce_only": true, "visible_quantity": 123, "side": "<string>", "order_tag": "<string>" }'
{ "success": true, "timestamp": 1702989203989, "data": { "status": "EDIT_SENT" } }
Limit: 10 request per 1 second
PUT /v1/order
Edit a pending order by order_id. Only the order_price or order_quantity can be amended.
order_id
order_price
order_quantity
Note: This endpoint requires trading scope in Orderly Key.
trading
OK
true
Show child attributes
1702989203989