Skip to main content
← Back to blog
TUTORIAL What Is a Market Maker? From Order Books to Solana AMMs MoonHydra · moonhydra.com/blog
Tutorial Fundamentals DEX Solana

What Is a Market Maker? From Order Books to Solana AMMs

· 9 min read · MoonHydra Research

Every time you trade, someone or something has to be on the other side of your order — ready to sell when you buy and buy when you sell. That role has a name: the market maker. On a stock exchange it's a professional firm quoting prices all day. On a Solana DEX it's a pool of code running a formula. The mechanism looks completely different, but the job is identical, and understanding it explains the two things that quietly cost you money on every trade: the spread and the slippage. Here's what a market maker actually does, how the model flipped on its head when it moved on-chain, and why it decides the price you pay.

What a market maker actually does

A market maker is whoever stands ready to trade with you at a price they publish in advance. The defining behavior is that it quotes both sides continuously: a price it will buy at (the bid) and a slightly higher price it will sell at (the ask). It doesn't wait to find a buyer for every seller — it absorbs your order onto its own books and trusts that another trader will come along to take the opposite side later. By always being willing to deal, it supplies liquidity: the ability to trade an asset quickly without having to move the price far to find a counterparty.

A market maker earns its keep on the gap between those two quotes — the spread. If it buys from sellers at one price and sells to buyers at a slightly higher one, it pockets the difference across the thousands of round trips that flow through it. That spread is its compensation for a real risk it takes on, called inventory risk: between the moment it buys from you and the moment it finds someone to sell to, the price can move against it. Hold a position too long in a falling market and the spread you earned gets wiped out by the loss on the inventory. Everything a market maker does — how tight it quotes, how much size it shows — is a balance between earning the spread and managing that risk.

The traditional model: order books

On a stock exchange or a centralized crypto exchange, market making happens inside an order book. The book is a live list of every resting buy and sell order, stacked by price. Buyers post bids, sellers post asks, and a trade executes when the two meet in the middle. Market making here is an active job: professional firms continuously place, update, and cancel orders on both sides of the book, adjusting their quotes as the market moves to keep capturing the spread while limiting how much inventory they accumulate.

The depth of that book is what you're really trading against. A liquid stock has thousands of orders stacked tightly around the current price, so even a large order fills with barely any movement — there's always another resting quote a hair away. A thinly traded one has gaps in the book, so a moderate order has to walk up through several price levels to fill, and you pay progressively worse prices as you eat through them. Good market makers keep the book deep and the spread tight; when they pull back — during a crash, say — spreads blow out and fills get ugly. The quality of the market making directly sets the quality of your execution.

How AMMs replace the market maker on Solana

The order-book model is hard to run fully on-chain. It demands constant order placement and cancellation, professional firms willing to quote both sides around the clock, and enough activity that a counterparty is always waiting. For a token that launched ninety seconds ago with three holders, none of that exists — there's no firm making a market and no book to trade against. Solana DEXs solve this with a completely different design: the automated market maker, or AMM. Instead of a firm quoting prices, a pool of two assets and a fixed formula do the market making automatically. The pool itself is always your counterparty, so there's never anyone to find.

The point worth sitting with: the liquidity pool plus its pricing algorithm is the market maker. The most common design keeps the product of the two reserves constant — the constant-product formula written x · y = k — and the price is simply the ratio of those two reserves. When you buy, one reserve shrinks and the other grows, the ratio shifts, and the quoted price moves automatically. No firm sets it, no book matches it; it's arithmetic recomputed after every swap. The capital in the pool comes from liquidity providers, who deposit both tokens and earn the trading fee in exchange — the AMM is the pricing logic, and they're the money behind it. For the full mechanics, read what an AMM is for the formula and what a liquidity pool is on Solana for the capital side. Together they replace the entire job a professional market maker does on a traditional exchange.

Why market-making quality decides your fills

Here's why any of this matters to you instead of being trivia. Whether the market making is done by a firm or a formula, the same rule holds: more and better market making means tighter spreads and deeper liquidity, which means less slippage and price impact for you. Thin or absent market making means wild spreads and brutal fills. The mechanism that supplies the liquidity changes; the consequence for your wallet doesn't.

On an AMM, "deep liquidity" means a large pool. Price impact — the gap between the price shown before your trade and the average price you actually pay — scales with the size of your order relative to the reserves. In a deep pool, a few thousand dollars barely nudges the ratio and you fill near the quoted price. In a shallow one, your trade is a big fraction of the pool, the ratio swings hard, and you eat a brutal price in both directions. This is separate from slippage tolerance, which is a setting — the maximum extra movement you'll accept between clicking and the trade landing on-chain. Confusing the two is the single most expensive mistake newcomers make; slippage on Solana, explained breaks down exactly where they differ. The practical takeaway: before you trade, look at how deep the pool is, because that depth — the quality of the automated market making — sets the price you'll actually get.

Professional market makers and CEXs

The AMM didn't kill the professional market maker — it just moved the job around. Centralized crypto exchanges still run order books, and dedicated market-making firms quote both sides on them exactly like they do in traditional finance, often under formal agreements with the exchange or the project to keep a token's book liquid. This is part of why a large-cap token can show a razor-thin spread on a major exchange: real firms are competing to make that market.

Professional firms increasingly play in the on-chain world too. Some run sophisticated strategies as liquidity providers in AMM pools, managing concentrated-liquidity ranges actively rather than depositing and walking away. Others operate as arbitrageurs, trading between a token's price on different DEXs and CEXs — and that arbitrage is what keeps an AMM's formula-driven price tethered to the wider market, since any gap is an opportunity someone rushes to close. So even on a "trustless" DEX, human market makers are often working in the background, just through different instruments. The contrast between these venues is laid out in CEX vs DEX on Solana.

The memecoin reality: barely any market maker

Now apply all of this to a fresh memecoin, and the picture gets harsh. A brand-new token has no professional firm quoting its book and, very often, no real liquidity pool yet either. On a launchpad like Pump.fun, the only thing "making a market" before the token graduates is the bonding curve — a one-sided pricing mechanism that uses the same constant-product math, but with the contract itself playing both the AMM and the liquidity provider. It will always trade with you, which is the point, but the curve is steep and the effective liquidity is tiny.

That means you should expect violent price impact on small and new tokens. With only a bonding curve or a thin freshly-seeded pool standing in for a market maker, your order is a huge fraction of the available liquidity, so the price lurches on the way in and again on the way out. The same buy that's invisible in a deep SOL/USDC pool can cost you double digits here. As the token attracts more liquidity providers and its pool deepens — and eventually migrates onto a venue like Raydium or Orca — the market making improves, the spread tightens, and fills get more reasonable. Until then, the thin market is the risk, and sizing your trades to the pool is how you survive it.

How MoonHydra fits

MoonHydra doesn't make markets, run an AMM, or hold any pools — it's a non-custodial Telegram bot that sits on top of whoever is making the market. When you paste a contract address and buy or sell, the bot routes your order through Jupiter, which scans the AMM pools across venues — Raydium, Orca, Meteora, PumpSwap — and splits your trade across whichever ones give the best blended price, doing the price-impact math for you. You set your own slippage tolerance, so you stay in control of how much movement you'll accept on a thin pool with little market making behind it. MoonHydra adds no custom on-chain contracts of its own; it relies on Jupiter's audited routing, with your keys encrypted using AES-256-GCM and a fully non-custodial design, so your funds never leave your control. The only fee it charges is a flat 1% per trade, on buys and sells alike, with no subscription, on top of the network and DEX fees you'd pay anyway. None of this changes the physics — a thin market is still a thin market — it just makes acting on it fast while keeping you the custodian of your own keys.

Bottom line

A market maker is whoever stands ready to trade with you, quoting a buy price and a sell price continuously, supplying liquidity, earning the spread between its quotes, and taking on inventory risk for the privilege. In traditional markets that's a professional firm working an order book; on Solana the order book is replaced by an AMM, where a liquidity pool and its constant-product formula do the market making automatically. The model differs, but the rule is constant: deeper, better market making means tighter spreads and less slippage, while thin or absent market making means wild prices and painful fills. Professional firms still operate on CEXs and even inside on-chain pools, but a fresh memecoin usually has only a bonding curve or a shallow pool standing in for a market maker — so expect violent price impact and size accordingly. Know who's making the market, check how deep it is, and the price you pay stops being a surprise.

Next: read what an AMM is for the formula that does the market making, slippage on Solana so price impact never catches you out, and CEX vs DEX on Solana to see where each market-making model lives. Start trading at t.me/moonhydrabot.


Ready to put this into practice?

MoonHydra is a multi-wallet Solana memecoin trading bot on Telegram. 1% per trade. AES-256-GCM encrypted. Non-custodial.

Open MoonHydra