Modify order
Modify an existing open order by changing its price and/or size. The modified order maintains its original order ID.
Path parameters
order_id
Order Id
Request
Modify Order Request
id
Order ID to be modified
market
Market for which order is modified
price
Existing or modified price of the order
side
Existing side of the order
signature
Order Payload signed with STARK Private Key
signature_timestamp
Timestamp of order creation, used for signature verification
size
Existing or modified size of the order
type
Existing type of the order
on_behalf_of_account
ID corresponding to the configured isolated margin account. Only for isolated margin orders
Response
OK
account
Paradex Account
avg_fill_price
Average fill price of the order
cancel_reason
Reason for order cancellation if it was closed by cancel
client_id
Client order id provided by the client at order creation
created_at
Order creation time
flags
Order flags, allow flag: REDUCE_ONLY
Allowed values:
id
Unique order identifier generated by Paradex
instruction
Execution instruction for order matching
Allowed values:
last_updated_at
Order last update time. No changes once status=CLOSED
market
Market
price
Order price. 0 for MARKET orders
published_at
Timestamp in milliseconds when order was sent to the client
received_at
Timestamp in milliseconds when order was received by API service
remaining_size
Remaining size of the order
request_info
Additional request information for orders
seq_no
Unique increasing number (non-sequential) that is assigned to this order update and changes on every order update. Can be used to deduplicate multiple feeds. WebSocket and REST responses use independently generated seq_no per event.
side
Order side
Allowed values:
size
Order size
status
Order status
Allowed values:
stp
Self Trade Prevention mode
Allowed values:
timestamp
Order signature timestamp
trigger_price
Trigger price for stop order
type
Order type