Backpack · Arazzo Workflow
Backpack Cancel and Replace an Order
Version 1.0.0
Look up a resting order, cancel it, and place a replacement at a new price.
View Spec
View on GitHub
CryptoExchangeWalletTradingPerpetualsSolanaWeb3DeFixNFTAnchorCoralCentralized ExchangeSelf-CustodyArazzoWorkflows
Provider
Workflows
cancel-replace-order
Cancel a resting order and replace it with a new limit order on the same side.
Reads the existing order, cancels it, and submits a replacement limit order on the same symbol and side at the supplied new price and quantity.
1
getOrder
get_order
Read the resting order by id to confirm it is still on the book before attempting to cancel it.
2
cancelOrder
cancel_order
Cancel the resting order from the order book by its id.
3
placeReplacement
execute_order
Submit the replacement limit order on the same symbol and side at the new price and quantity.