# Non-Custodial Limit Orders, Stop-Loss and Take-Profit

> Limit orders, stop-loss and take-profit from your own wallet. A rule trades at market when a price holds past your level, or when a whale moves a token.

URL: https://ana.fi/use-cases/limit-orders/

[ANA.FI](https://ana.fi/) / [ANAFI DAPP](https://ana.fi/dapp/) / LIMIT ORDERS

## 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.

[Launch dApp](https://app.ana.fi/) [Talk to Us](https://ana.fi/talk/)

### 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](https://ana.fi/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.

ETH stop-loss Signed once

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.

#### 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.

#### 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.

#### 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.

#### 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.

#### Anafi dApp

For your own wallet. No integration needed.

### 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?

No. The rule waits for the token's US dollar price to cross your level and to stay past it for the hold time you set. Then it trades at market, so you get the market price of that moment, which can be better or worse than your level. The level is a trigger, not a guaranteed fill price.

#### Can I set a stop-loss or a take-profit on chain, without an exchange?

Yes. A rule that sells when the price stays below your level works as a stop-loss. A rule that sells when the price stays above a level works as a take-profit. A rule that buys below a level buys a dip. Each one waits in your own wallet, needs no exchange account, and trades at market after the hold.

#### What stops a short price spike from triggering my stop-loss?

The hold time does. You set how long the price must stay past your level before the rule trades, so a spike or a dip that ends sooner does not fire it. A longer hold filters more short moves. It also gives the price more time to move away from your level before the trade runs at market.

#### Can I sell automatically when a whale sells?

You can sell when a wallet you watch sends a token above a size you set. The rule sees transfers, not sales: a move between two wallets of one owner looks the same as a sale, and a swap by the watched wallet does not fire it. You can count only transfers to one address. For more, see [follow a wallet](https://ana.fi/use-cases/follow-a-wallet/).

#### Can I place a limit order from a Safe or a self-custody wallet?

Yes. You connect a wallet with MetaMask or WalletConnect, and the app works on your own account, a Safe that your key owns. Your tokens stay in that account until a rule runs. The engine signs only what your rule allows, and Anafi holds no funds. To cancel, one signature changes the rule or revokes all permissions. See [Trust and security](https://ana.fi/trust-security/) for who holds what.

#### Can other traders see my stop-loss level?

No. The rule is private, and only its hash goes on chain. An engine inside an Intel TDX enclave fires the rule when its trigger happens, and signs only what the rule allows. The trade itself is a swap on chain from your account, so anyone can see it once it has run.

#### Which networks and tokens can I use?

Anafi is live on Ethereum, Polygon and X Layer. The app shows only the flows a network can run: a price trigger needs that network's price source to price the token, and a trade needs its swap venue. Limit orders are live in the Anafi dApp.

#### What does a limit order cost?

The dApp charges 0.2% of each transaction, capped at USD 10. Network fees are separate. The trade runs at market, so the price you get depends on the market at that moment. Anafi is software, not an exchange or a custodian, and nothing on this page is investment advice.

#### Can a wallet or a neobank offer limit orders to its users?

Yes. The dApp is for your own wallet or a small team's. Wallets and neobanks can build the same rules into their own app with [Anafi Mandates](https://ana.fi/products/mandates/), which comes as an SDK, an API and a rule language. Each user signs their own rule, and the funds stay in that user's wallet until the rule runs.

### MORE USE CASES

#### For your wallet

- [Reimbursements Pay a wallet back a share of each payment it makes.](https://ana.fi/use-cases/reimbursements/)
- [Follow a wallet Act when another address receives or sends a token.](https://ana.fi/use-cases/follow-a-wallet/)
- [Auto-convert Swap incoming tokens into a stablecoin as they arrive.](https://ana.fi/use-cases/auto-convert/)
- [Payment splitting Split each incoming payment between payees, by amount or share.](https://ana.fi/use-cases/payment-routing/)
- [Tax set-aside Set aside a percent of each incoming payment for your tax bill.](https://ana.fi/use-cases/tax-set-aside/)

#### For businesses

- [Direct Debit Billers pull what the payer approved. Never more.](https://ana.fi/use-cases/direct-debit/)
- [Autopay Pay on a date, or the moment money arrives.](https://ana.fi/use-cases/autopay/)
- [Subscriptions Recurring revenue through one widget.](https://ana.fi/use-cases/subscriptions/)
- [Top-ups & sweeps Warm tops up hot. Surplus sweeps back.](https://ana.fi/use-cases/top-ups-sweeps/)
- [Payouts & payroll Batches on schedule. Large payouts wait for approvers.](https://ana.fi/use-cases/payouts-payroll/)
- [On/off-ramp Stablecoin on-ramp and off-ramp, through licensed partners.](https://ana.fi/use-cases/on-off-ramp/)
- [Recurring off-ramp Stablecoins to a user's bank, on a schedule.](https://ana.fi/use-cases/recurring-off-ramp/)
- [Bill pay Rent and bills, paid by bank transfer.](https://ana.fi/use-cases/bill-pay/)

11 KEEP READING

- **RELATED:** Anafi Mandates for wallets and neobanks [Anafi Mandates for wallets and neobanks](https://ana.fi/products/mandates/)
- **TRUST & SECURITY:** Who holds what, and who can act. [Trust & Security](https://ana.fi/trust-security/)
- **AUDITABILITY & COMPLIANCE:** How the engine proves it skipped nothing. [Auditability & Compliance](https://ana.fi/auditability-compliance/)
- **PLAYGROUND:** Build a rule and read what it produces. [Playground](https://portal.ana.fi/)

GET STARTED

### Set your level once. Keep your keys.
