Skip to main content
Two entry functions are available: cancel the entire resting ladder, or remove a single price level and leave the rest in place.

Cancel the Full Ladder

Function:
ABI Object:
Parameters:
  • auth - The account signer
  • subaccount - The Trading Account object
  • market - The SpotMarket object

Cancel a Single Price Level

Function:
ABI Object:
Parameters:
  • auth - The account signer
  • subaccount - The Trading Account object
  • market - The SpotMarket object
  • price - The price level to cancel, in raw quote units `<u64>`
  • is_bid - True to cancel the bid at that price, false for the ask
For wallet-direct ladders, use cancel_spot_bulk_order and cancel_spot_bulk_order_at_price_level, which take the same arguments without the subaccount parameter. Example: