DEV Community

Jerome Barton
Jerome Barton

Posted on

ParaSwap Limit Orders vs Market Swaps

ParaSwap limit orders are useful instead of market swaps when a minimum token receipt matters more than timing and an unfilled trade is acceptable. Choose Market when you need the conversion soon and the current terms are acceptable. A Delta limit order is an instruction to swap only if its minimum destination-token amount can be delivered before the order expires. The price condition and the time requirement answer different questions: what receipt would make the trade worthwhile, and when the destination tokens must be available.

When should you use a ParaSwap limit order?

Use a Delta limit order when you have a firm receipt target and can keep the source tokens while the order waits. For a DAI-to-USDC sale, express the target as the minimum USDC you will receive for the DAI you offer. That amount is more useful than a vague target exchange rate because it states the outcome of the whole trade. An order can remain unfilled while executable terms fall short of it.

A trader who wants a particular USDC receipt can leave the DAI unconverted until that receipt is available or the order expires. For that price-priority trade, go to paraswap supported tokens on ParaSwap and use Delta to set the minimum USDC receipt.

Now consider two traders with the same DAI balance, the same current USDC quote, and the same preference for a better receipt. One can wait; the other needs USDC for another transaction today. The first can set a higher minimum with Delta and accept the possibility of no fill. The second can take the current acceptable terms through Market. Urgency alone changes the choice.

A Market swap seeks execution at current routed terms, subject to its transaction protections. It usually executes within about one to a few blocks after submission, although congestion and gas terms can delay inclusion. OTC addresses a different situation: two known counterparties have already agreed on a trade and need to settle it. It is not the route for waiting on an open market price target.

Can a Delta limit order fill immediately?

A Delta limit order can fill promptly when executable terms already meet its minimum receipt. Limit mode imposes no mandatory waiting period. The minimum is a floor for execution, not a timer or a requirement for the market to move away and return. A solver that can deliver the required tokens may fill an eligible order without any intervening price change.

Eligibility and completion are separate states. A target below the receipt available from executable liquidity may be eligible now, yet still needs someone to execute the order. A target above that receipt leaves the order open while its price condition is unmet. Treating a limit order as an automatic delay can make a trader set an unnecessarily demanding target; treating a favorable quote as a guaranteed fill can leave the trader without USDC when it is needed.

The displayed Market quote and a limit order’s minimum receipt also do different jobs. The quote estimates a conversion available now. A Market transaction’s minimum received protects against deterioration between quote and execution; it does not wait for a better quote. Delta’s chosen minimum states the receipt at which the trader is willing to let an open order execute.

What costs and prerequisites change the choice?

Compare the net USDC receipt against the setup and execution costs of each route. Start with the exact DAI amount and the destination amount after any deductions shown in the terms. A larger gross receipt has little value if extra costs erase the difference. For a small expected improvement, even one additional transaction can change which outcome is worthwhile.

An ERC-20 allowance may be needed before either route can spend DAI. With sufficient existing allowance, there may be no new approval transaction; without it, approval adds an Ethereum transaction and its gas cost. That is the usual setup-cost range, with the actual gas expense moving with network demand. A Delta order may also require a wallet signature, which is a different action from paying for an on-chain transaction.

Market adds execution exposure when the trader submits an Ethereum transaction. If that transaction exhausts its gas limit, its state changes revert and the supplied gas is consumed. A transaction that fails for another reason can also spend gas, though it need not consume the full limit. Compare that possible loss with the cost of leaving DAI unconverted while a Delta order waits. ParaSwap’s routed Market quote helps with an urgent conversion because it presents the current token receipt to weigh against that exposure.

How long should a Delta limit order stay open?

Set a Delta limit order’s expiry at the point when an unfilled DAI-to-USDC trade would stop being useful. An order needed for a payment tomorrow should not remain live beyond that need. A trader with no immediate USDC obligation can allow more time for executable terms to reach the target, while accepting that they may never do so.

Expiry is a decision deadline, not a promise of execution at that time. An order that reaches expiry unfilled cannot make another attempt; it requires a fresh Delta order. At that point, compare the current Market receipt with the remaining need for USDC before choosing a new minimum or converting the DAI immediately.

Top comments (0)