Skip to main content
Merkle Street

Protocols, markets, policy, people

How Much Liquidity Does a Treasury Swap Need?

A treasury swap needs enough active pool depth to keep price impact within policy; estimate it from route quotes, slippage limits and the assets left afterward.

Merkle Street Newsroom#34a0ec3 min read

Abstract cover artwork

A treasury swap needs enough active liquidity to keep its price impact within the treasury’s limit. The treasury sets the amount to exchange and approves the token spend; a router checks available pools and chooses a route; each pool’s contract calculates the output from its reserves or active liquidity. The transaction executes only if the received amount meets its minimum-output limit. The right liquidity figure is therefore not a fixed multiple of the trade. It depends on the route, the trade size and the price impact the treasury can accept.

How do you calculate the liquidity a swap needs?

Start with the maximum price impact the treasury is willing to accept, then get a quote for the full proposed trade. Price impact is the change in execution price caused by the swap itself. Slippage is the difference between the quoted and actual execution price, which can change while the transaction waits to be included. The quote shows whether the available route can trade the amount within the impact limit; the minimum-output setting protects against a worse execution after the quote.

A small trade against a deep pool may move the price very little. The same trade against a shallow pool can consume more of the available reserves and receive a worse average price. For a constant-product pool, each token’s reserve affects the curve: taking out more of one token requires adding increasingly more of the other. Concentrated-liquidity pools add another factor: only liquidity placed around the current price is active for that swap. For the transaction steps, see how to complete a Blackhole swap on Avalanche. The liquidity relevant to a quote is the liquidity the route can actually use, not the pool’s headline total.

What should a treasury check in a route quote?

Compare the quoted output with the output at the reference price, and check every pool along the route. A multi-pool route can provide more depth, but it also adds another price curve and fee. A treasury can use this short checklist before approving a trade:

  • Quote the full amount and inspect the route, pool fees and expected output.
  • Compare price impact with the treasury’s approved limit.
  • Set minimum output to reflect acceptable slippage, not to disguise a poor quote.
  • Confirm the swap leaves enough of the source asset for planned obligations.

Splitting a swap does not automatically reduce its total price impact. If both parts trade through the same pool before its price resets, their combined effect is much like one trade of the same size. A different route or a later trade may change the result, but each execution needs a fresh quote.

How can a treasury choose a practical trade size?

Size the trade by testing how much can pass through the chosen route before price impact reaches the policy limit. If the full amount exceeds that limit, reduce it, seek a deeper route, or wait for conditions to change; do not treat a large pool balance as proof that the full amount can trade cheaply.

Before execution, simulate the transaction and check the quoted route, minimum output, network fee and destination address. A failed transaction can still cost a network fee. After execution, compare the actual output with the quote and record the remaining treasury balances. For most treasuries, the sound rule is simple: approve only the amount the quoted active depth can absorb within policy, while keeping enough assets available for the next obligation.