Learn · NEAR trading
Limit orders on NEAR
A limit order on nearswaps is a conditional swap: your tokens wait in an orders contract and a keeper fires the swap when the pool price reaches your level. Choose Limit buy to buy lower, Take-profit to sell higher, or Breakout buy to buy when the price rises through a level. Each order costs 0.02 NEAR plus the swap fee.
Last checked
The four order types
| Order | Fires when | Use it to |
|---|---|---|
| Limit buy | the price falls to your level | buy a dip at a set price |
| Take-profit | the price rises to your level | sell into strength (a limit sell) |
| Breakout buy | the price rises above your level | buy once a move is confirmed |
| Stop-loss | the price falls to your level | sell to cap a loss (stop-loss guide) |
Each trigger can be a price or a market cap. Expiry is 1 hour, 24 hours, 7 days or 30 days.
How a limit order on NEAR differs from an order book
NEAR's main exchanges are pools, not order books. Your order does not rest on a book waiting for a counterparty. It waits in the orders contract nekoorders.near, and when your level is met the contract swaps against the pool at the pool's price at that moment, no worse than your maximum slippage allows. That has three effects:
- No partial fills: the whole amount fills in one swap, or not at all.
- A limit buy can fill at a better price than your level if the price gaps down, and a take-profit at a better price if it gaps up.
- The fill goes through the best Rhea route at that moment, which can split over several pools when that pays more.
Paying and receiving in a stablecoin
Orders settle in any base the token has a simple pool against: wNEAR, USDC, USDC.e, USDt or USDT.e. A sell pays out in the chosen base; a buy is placed with it. DCL and Shards tokens stay against wNEAR.
Where limit orders work
On Rhea classic and DCL pools, on Shards launches (on the bonding curve too) and on Intear DEX (TEAR and Intear launchpad tokens, which pay out in NEAR). Fresh launches opened from Pulse work as well. Intear DEX pools that a 5 NEAR trade would move more than 15% are refused as too thin.
Sealed or Open trigger
Sealed (the default) keeps your level off chain: the contract stores only a hash and the keeper reveals it when it fires. Open puts the level on chain, and anyone may fill the order at your price or better, so the fill does not depend on one keeper. More in how auto orders fire.
What it costs
0.02 NEAR per order (0.01 comes back when it closes, 0.01 pays whoever executes it) plus the site fee as for any swap, taken at the fill.