CASE 05 / TEST THE EXIT
Your wallet says $10,000. How much can you sell?
Predict a sale, watch the available buyers or pool reserves change, and compare a displayed valuation with dollars received and tokens left unsold.
Follow the case.
- Inspect the liquidity
Look beneath the displayed price. Compare the two-sided inventory of an AMM with buyers waiting at specific prices in an order book.
- Set the instruction
Choose the sale size and protection. A minimum amount received can cancel an AMM swap; a book price floor can leave tokens unfilled.
- Predict, then execute
Choose full sale near the mark, discounted sale, partial sale, reversion or no sale. Reveal the matched orders or changed pool inventory.
- Read the receipt
Separate gross dollars, fee treatment, net proceeds, tokens sold and tokens still owned. Unsold tokens are not realized dollars.
The scenario controls load with JavaScript. The explanation, checklist and model boundaries remain available below.
TAKE IT WITH YOU
The question to keep asking.
A reference price describes a mark. Executable liquidity and the exact order instructions determine the proceeds.
YOUR PRACTICAL CHECKLIST
- Which venue supplies the quote, and for what size?
- How much depth or reserve is available relative to this sale?
- Does the protection limit price, require minimum total output, or require a full fill?
- Which fees are already included, and which costs are outside the quote?
- How many tokens remain unsold after the instruction?
Model boundaries & mechanism sources
- Every venue and token is fictional. The wallet contains 10,000 tokens marked at a fixed reference price of $1; the dollar quote unit stays worth $1.
- Two full-range constant-product pools retain a 0.3% fee in input tokens. Concentrated liquidity, protocol fee splits, gas, taxes and routing are excluded.
- The fictional order book has four fixed bid levels and a 0.2% fee on gross proceeds. Available eligible orders fill immediately; the remainder is cancelled. No new buyers appear during the sale.
- AMM protection is an all-or-nothing minimum-output check. Order-book protection is a minimum bid price, which can still produce a partial fill. These instructions have different semantics.
- This is one execution snapshot. It does not forecast future prices, available liquidity or the results of waiting between trades.
FOLLOW THE CONNECTIONS