SALEUp to 77% off

Solana & memecoins · Digital guide

Jupiter Swap Price Impact Checks

Compare Jupiter swap quotes by size, separate price impact from slippage tolerance, and test how your Solana bot handles stale quotes.

View the guide →

One-time payment · Instant download

Level
Intermediate
First pass
About 3–4 hours
Mode
Research and simulation only
Format
Digital guide, self-paced

What you’ll work on

A pool’s displayed mid-price is not what a swap will necessarily receive. Compare quotes taken close together for the same token pair at different sample sizes, then record the quoted routes and timestamp. A large change may reflect thin liquidity, different routing, or stale data, each of which deserves its own log entry.

What you need before you start

How to approach the project

  1. Check both token mints

    Save the input and output assets, quoted amounts and observation time. Normalize token decimals before comparing values. Use the same direction and similar timestamps for the size comparison, since a quote in the opposite direction can traverse a different route.

  2. Separate impact from tolerance

    Put reference price, quote price and acceptable movement in different fields. Price impact compares your quote with a reference. Slippage tolerance limits how far execution can move around the quote. Record which field causes the rule to pause so the journal remains understandable.

  3. Test quote expiry and rerouting

    In simulation, try a quote that disappears and a larger request that returns a different route. Compare the output with a case where a quote is merely past your freshness window. Log each reason separately and retry the review with new public data when appropriate.

Worked example: The same pair quoted at three sizes

Input sizeQuote priceRouteImpact vs referenceFlag
0.5 SOL1.000 (reference)Pool P10.0%ok
5 SOL0.985Pool P11.5%ok
50 SOL0.910Pool P1 + P29.0%impact above limit
50 SOL, 3 min laterno route--quote unavailable

Invented numbers. Impact is measured against a reference. Slippage tolerance is a separate setting that limits movement after you quote.

Common mistakes to avoid

You’re done when…

Frequently asked questions

Can I test quote handling without opening a trade?

Yes. Use read-only quotes or fixtures first and inspect the intended action in your logs before adding transaction submission.

Do the Jupiter examples require maintenance?

Review the current Jupiter documentation before using any sample integration. Test the quote path with read-only calls and static fixtures first.

Does a small impact figure guarantee my fill?

No. A quote is a snapshot. Liquidity and routes change between quote and execution.

Do I need a wallet to test quotes?

Not for read-only quote requests. Keep signing out of this exercise entirely.

Solana Memecoin Trading Bot Guide

Build a Solana memecoin bot with token screening, BubbleMaps wallet checks, trading rules, and Telegram alerts.

Explore the guide · $37

Educational material only, not financial advice. Example figures on this page are invented to illustrate the method. Crypto assets are volatile and you can lose money. Test in simulation and check current provider terms before using any service.