Set a price level.
Or follow a whale. Limit orders, stop-loss and take-profit from your own wallet.
Set a US dollar level for a token, or a wallet to watch. When the price holds past your level, or that wallet sends the token, a rule you signed trades at market from your own wallet. No exchange holds your funds.
What it is: What is a non-custodial limit order?
A non-custodial limit order is an order to buy or sell a token at a price level you set. It waits in your own wallet, not on an exchange. In the Anafi dApp, the rule waits until the US dollar price holds past your level, then trades at market. The level is a trigger, not a guaranteed fill price.
How a limit order works: Set a level. Sign once. It trades.
- 01 SET
Pick a US dollar level and a hold time, or a wallet and a size.
- 02 SIGN
Name the amount to sell and the token to buy. One signature starts it.
- 03 TRADE
When the trigger happens, the rule swaps at market and can email you.
An example rule: A stop-loss that ignores a short dip.
You hold 2 ETH in your own account and want to sell if the price falls below $2,000 and stays there.
When ETH goes below $2,000 for 15 minutes, sell 2 ETH for USDC at market.
- WHEN
- ETH goes below $2,000 and stays below for 15 minutes
- THEN
- Sell 2 ETH for USDC at market, and email you
- LIMITS
- One fire only, exactly 2 ETH, at the market price of that moment
- UNTIL
- 30 June, or the day you revoke it
After the trade, the USDC stays in your own account, an email tells you, and the rule does not fire again.
Who uses it: From a stop-loss to a whale exit.
- 01
A long-term holder
You hold ETH in self-custody and go offline for a week. A rule sells 2 ETH for USDC if the price stays below your level for an hour.
- 02
A Safe owner
Your tokens sit in a Safe your key owns. A rule takes profit: it sells a fixed amount for USDC when the price holds above your target.
- 03
A dip buyer
You keep USDC ready. A rule spends 1,000 USDC on ETH when the price stays below your level for 15 minutes. It fires once.
- 04
A whale watcher
You hold a token and know a large holder's address. When that address sends more than 1,000,000 of it, your rule sells a fixed amount for USDC.
RUNS ON: Runs in the Anafi dApp.
What you set in the rule: Your rule. Your wallet.
- LEVEL
- A US dollar price that the token must go above or below.
- HOLD
- How long the price must stay past the level before the trade.
- REPEAT
- A price rule fires once, or again after a pause you choose.
- WHALE
- An address to watch, a token, and a minimum and maximum size.
- TRADE
- The amount to sell, the token it sells and the token it buys.
- STOP
- One signature changes the rule. One revokes all permissions.
Compared with the usual way: What each way leaves you to do.
There are three ways to act on a price level or a whale's move, and each one leaves a different job to you.
| An order on a custodial exchange | An alert and a manual trade | A rule in your own wallet | |
|---|---|---|---|
| Where your tokens wait | In the exchange's custody | In your wallet | In your own account |
| Who trades at the trigger | The exchange | You, if you see the alert in time | The rule you signed once |
| A short spike or dip | Can trigger a stop order | You judge each move yourself | Ignored unless the price holds |
| The price you get | Your limit or better, or no fill | The market price when you act | The market price after the hold |
| A whale's transfer as the trigger | You watch the chain and place the order | An alert, then you trade by hand | A transfer above your size fires it |
Good to know: Three limits to know before you sign.
The level is a trigger
The rule trades at market once the price has held past your level, so the fill can differ from it. Set the level and the hold with that in mind.
Transfers, not sales
The whale trigger sees a wallet send a token, not why. A move between one owner's two wallets looks like a sale. Set a minimum size and one receiving address.
Whale rules repeat
A whale rule fires on each matching transfer, with no limit over time. Keep in the account only what you would trade, and revoke the rule when done.
FAQ: Questions about non-custodial limit orders.
Is a limit order filled at my exact price?
Can I set a stop-loss or a take-profit on chain, without an exchange?
What stops a short price spike from triggering my stop-loss?
Can I sell automatically when a whale sells?
Can I place a limit order from a Safe or a self-custody wallet?
Can other traders see my stop-loss level?
Which networks and tokens can I use?
What does a limit order cost?
Can a wallet or a neobank offer limit orders to its users?
MORE USE CASES
For your wallet
- ReimbursementsPay a wallet back a share of each payment it makes.
- Follow a walletAct when another address receives or sends a token.
- Auto-convertSwap incoming tokens into a stablecoin as they arrive.
- Payment splittingSplit each incoming payment between payees, by amount or share.
- Tax set-asideSet aside a percent of each incoming payment for your tax bill.
For businesses
- Direct DebitBillers pull what the payer approved. Never more.
- AutopayPay on a date, or the moment money arrives.
- SubscriptionsRecurring revenue through one widget.
- Top-ups & sweepsWarm tops up hot. Surplus sweeps back.
- Payouts & payrollBatches on schedule. Large payouts wait for approvers.
- On/off-rampStablecoin on-ramp and off-ramp, through licensed partners.
- Recurring off-rampStablecoins to a user's bank, on a schedule.
- Bill payRent and bills, paid by bank transfer.
- RELATED
- Anafi Mandates for wallets and neobanksAnafi Mandates for wallets and neobanks
- TRUST & SECURITY
- Who holds what, and who can act.Trust & Security
- AUDITABILITY & COMPLIANCE
- How the engine proves it skipped nothing.Auditability & Compliance
- PLAYGROUND
- Build a rule and read what it produces.Playground