Skip to content

Order types: partial fills

Some orders don’t fill all at once. A partial fill takes part of the order, pays that part, and leaves the rest in a new order box that waits for the next fill.

Order Fills in parts?
Swap No: whole or nothing
Limit and stop Yes
DCA One slice at a time; each slice is whole or nothing
Grid One flip at a time
Route No: all or nothing
Maker vault, firm offer Yes, within each price’s or term’s limits

Each block lets a market’s price move only within a band, about 1.5% of the pool’s reserve, shared by everyone trading that block. An order bigger than that can’t fill in one block, so it fills over several.

  • At least its share of your price, rounded in your favour, and at least what the batch’s price gives it.
  • No dust: you set the smallest part you’ll accept, and the order never leaves a rest smaller than that.
  • Fees scale with the part: each part may use only its share of your execution-fee cap.
  • Limit and stop: each part’s proceeds are paid out as it fills.
  • DCA and grid: proceeds stay in the order until the end, and you’re paid once.

A cancel is signed for one order box, and each fill makes a new one. To cancel after a part has filled, cancel the box that now holds the rest. You get back everything still in it. See refund and cancel.

Technical details

Sources: kadia-dex docs/guide/how-it-works.md, docs/guide/fees.md, docs/guide/maker-vault-bots.md and the order-type decisions in docs/decisions/ at commit 7ce1595 (7ce159587dc8c0bd78d6a5fbe0f7f8e7dde3920e).