← All workflows
Trading

Fill in a band, and wait if the market runs past

A limit fills at your price or better, so a market that gaps straight through fills you at the far side of the move. A rung fills only inside a band at your level and waits when the price leaves it.

Starts when
A price
Repeats
Runs once
Networks
basearbitrumethereum
Assets
cbBTC
Through
aggregation router

What you type

Buy cbBTC at 80,000, but only within 20 bps of it. If it runs past, wait for it to come back.

Change the numbers, the assets or the network — it is a sentence, not a template. If what you want is not possible on the network you named, ask before planning: "can I do this" is usually really "can I do this there".

What it compiles to

The plan you approve
  1. 01rungbase
    swap.routerfills inside [level, level + 20bps] · waits outside it2 calls
1 steps

You read this before anything happens. Saving it runs nothing; running it is a separate, deliberate press.

What to know before you run it

Related workflows

Every operation named above is in thecatalogue, which is generated from the running build. If this page and the catalogue disagree, the catalogue is right.

Bring one strategy you are tired of running by hand.

DeFiLoops is live. Open the app, say the strategy in chat, and read the plan before anything runs.