Skip to content
Research / Education / Trading costs

TA · Professional · Part 1 of 16

How a price is made: the bid, the ask and the book behind the quote

A quote is two prices, not one, and each is the front of a queue of orders. What the bid and ask are, why the spread exists, and what the book behind the quote decides about every fill.

InnoMP Research · Education Desk Published 24 Sept 2026 · Updated 24 Sept 2026 8 min read
InnoMP Research cover art — two queues, one gap
In short

A price is made by two queues of orders. The bid is the highest price a resting buyer will pay, the ask is the lowest a resting seller will accept, and the gap between them is the spread. A trade happens when someone crosses the spread: a buyer pays the ask, a seller hits the bid. Behind each best price sits more resting volume at worse prices — the book — and an order's size against that book decides whether it fills at the quote or walks through it. On a chart this is one line; on the ticket it is the whole cost.

A price is made by two queues of orders: the bid, which is the highest price a resting buyer will pay, and the ask, which is the lowest price a resting seller will accept. The gap between them is the spread, and a trade happens only when someone crosses it.

Two levels of this course have read charts. This level starts underneath the chart, at the thing the line is drawn from — because every entry, every stop and every cost the earlier levels counted is decided by a mechanism the line does not show.

Two queues and the gap between them

At any moment an instrument has buyers who have said what they will pay and sellers who have said what they will accept. Those statements are orders, resting until something meets them. Sort them by price and the picture is a ladder.

Two queues and the gap between them A price ladder. Above a shaded band, three rows of resting sell orders at rising prices, the lowest of them marked as the best ask. Below the band, three rows of resting buy orders at falling prices, the highest marked as the best bid. The band between them is labelled as the spread, the gap nobody has crossed. bidsasks1.08471.08461.08451.08431.08421.0841best askspread: the gap nobody has crossedbest bidresting orders, sorted by price InnoMP Research
Sellers above, buyers below, sorted by price. The two rows nearest the middle are the quote. The band between them is the spread — the distance between what buyers will pay and what sellers will take.

The bid is the top of the buyers’ queue. The ask — also called the offer — is the bottom of the sellers’. Together they are the best bid and offer, and they are the two numbers a quote shows. Everything else on the ladder is the order book: the resting volume at worse prices, waiting its turn.

Nothing in this picture is moving. Resting orders do not trade with each other, because the best buyer is below the best seller by construction. For a trade to happen, someone has to cross.

Crossing the spread

A trade occurs when a participant stops waiting and takes the other side’s price. A buyer who wants to trade now pays the ask. A seller who wants to trade now hits the bid. That is what a market order is — the next part is about order types — and it is the only way the spread ever closes.

Crossing the spread: a market buy pays the ask, a market sell hits the bid Two panels. Left, a market buy: a dashed ask line above a dashed bid line, and the fill marked on the ask line, noted fills at the ask, pays the spread. Right, a market sell: the same two lines, and the fill marked on the bid line, noted fills at the bid, pays the spread. Market buyaskbidfills at the askpays the spreadMarket sellaskbidfills at the bidpays the spread InnoMP Research
Whoever crosses pays. The buyer pays the ask, above the mid; the seller receives the bid, below it. A round trip crosses twice, which is why the spread is a cost and not a detail.

This is the mechanism behind the real cost of a trade from CFD Foundations. A position is opened at the ask and closed at the bid, or the reverse, so the spread is paid in full on every round trip before the price has moved at all. MetaTrader’s own definitions say the same thing from the order’s side: a buy executes at the Ask, a sell at the Bid.

Behind the best price

The quote is a price for a quantity — the volume resting at the best level — not a price for any size. An order larger than that volume takes the best level and then the next one, and the next, until it is filled.

Walking the book: an order larger than the best level Three rows of resting sell orders at rising prices, with volumes of five, three and six lots. A ten-lot buy is shown consuming all five at the first price, all three at the second, and two of the six at the third. Notes say five at the first price, three at the second, two at the third, and that the average is worse than the quote. buy 10 lots · book shows 5 · 3 · 61.08451.08461.0847×5×3×65 at 1.0845 · 3 at 1.0846 · 2 at 1.0847average: worse than the quote InnoMP Research
Ten lots against a book that shows five at the touch. The order gets its fill, at three prices, and its average is above the quote it was sent at. The book was not lying; it was quoting five.

The numbers are illustrative; the shape is not. How far an order walks depends on its size relative to the book, and the book is thinner in the Asian hours, at the rollover, and around news — the same windows the Intermediate level flagged for volume and spread. Part 3 of this level prices this walk properly, as market impact and slippage. For now the point is simpler: a quote is a price for the first lot, and every lot after that is a negotiation with the rest of the ladder.

Key takeaway The bid and ask are the two prices at the front of two queues. A trade is one side stepping across to the other. Everything about execution — cost, fill, slippage — is a consequence of how deep those queues are behind the front.

What the chart shows, and what it hides

A chart draws one line. It is the bid, the mid-point, or the last traded price, depending on the platform; MetaTrader draws the bid by default. Whichever it is, it is not the price a trade pays.

What the chart shows, and what it hides Two lines move together across the chart, a gold line for the ask a little above a navy line for the bid, the gap between them constant. Notes say ask, gold; bid, navy; and that the chart draws one of them while every trade paid the gap. ask · goldbid · navythe chart draws one; every trade paid the gap InnoMP Research
The chart is one of these two lines. Every trade ever made on it was executed on the other side of the gap from where the line was — which is where a stop can be hit without the line ever reaching it.

Two consequences the earlier levels described from the outside now have a mechanism.

A stop can be hit by the spread alone. A sell stop on a long position triggers on the bid. If the chart is drawn on the bid the line has to touch it; but a buy stop on a short triggers on the ask, which the bid-drawn chart never shows, and a widening spread at the rollover can put the ask through the stop while the line sits above it.

A level is a level on one side of the book. Support at a price is bids resting there. When price “tests” it, what is being tested is whether those bids are still in the book — and whether sellers crossing the spread take them all. Part 2 of the Intermediate level drew that as a zone; this is why it is one.

An exchange book and a dealer’s book

On a stock exchange the ladder above is a single shared queue: everyone’s resting orders, in one place, matched by one rule. Forex is not that market. The BIS survey used throughout the Intermediate level describes it as over-the-counter: dealers trade with each other and with clients directly, and there is no central book.

An exchange book and a dealer's book Two panels. Left, exchange: a single ladder with resting bids on one side of a central line and resting asks on the other, noted one shared queue. Right, dealer, over the counter: three boxes labelled LP at the top feed lines down into a smaller ladder, noted built from providers. Exchangeone shared queueDealer (OTC)LPLPLPbuilt from providers InnoMP Research
Left: one queue, and the quote is whoever is at the front of it. Right: the dealer's own ladder, assembled from the prices its providers stream. A CFD trades against the right-hand picture.

A CFD on a currency pair is priced against the dealer’s book: the broker’s quote, assembled from the streams its liquidity providers send it. The ladder still has a bid, an ask and depth, and everything in this part applies to it. But it is the broker’s ladder, it differs from the next broker’s, and how it is assembled is the subject of Part 4.

Between here and there are two parts about what a trader can do to that ladder: which queue an order joins, and what it costs to be at the front of it.

Next: Market, limit and stop orders — which queue each order type joins, why a stop-loss is a market order in waiting, and who pays the spread.

Key facts
  • The bid is the best resting buy price; the ask is the best resting sell price; the spread is the difference.
  • A market buy pays the ask and a market sell hits the bid: crossing the spread is what makes a trade happen.
  • Behind each best price sits resting volume at worse prices; an order larger than the best level fills through several.
  • A chart's single line is the bid, the mid or the last trade, and hides the spread that every trade pays.
  • In an over-the-counter market the book is the dealer's, assembled from its liquidity providers, not one exchange queue.

Frequently asked questions

What is the difference between the bid and the ask?

The bid is the highest price someone is currently willing to pay, resting in the book as a buy order. The ask is the lowest price someone is willing to accept, resting as a sell order. A quote shows both. To buy immediately you pay the ask; to sell immediately you receive the bid.

Why is there a spread?

Because the best buyer and the best seller have not agreed. The bid is what buyers will pay; the ask is what sellers want; until one side moves, nothing trades. The spread is the gap between them, and whoever wants to trade now closes it by paying the other side's price. Where it is provided by a dealer it also carries the dealer's mark-up.

What is an order book?

The resting buy and sell orders for an instrument, arranged by price. The best bid and best ask sit at the touch; worse prices sit behind them with their own volumes. On an exchange it is one shared queue everyone trades against. In an over-the-counter market such as forex it is the dealer's own book, assembled from its liquidity providers.

Which price does the chart show?

Usually one of three: the bid, the mid-point between bid and ask, or the last traded price. MetaTrader charts are drawn on the bid by default. None of them is the price you will actually pay or receive, which is why a stop-loss can be hit by the spread alone when the chart never touched it.

Why did my order fill at a worse price than the quote?

Because the quote is the price for the volume resting at the best level, not for any size. An order larger than that volume takes the best level and then the next, and its average fill is worse than the quote by however far it had to reach. Where the book is thin, even a modest order does this.

Sources

  1. MetaTrader 5 Help — Basic Principles: buy at the Ask price, sell at the Bid price; the pending order typesmetatrader5.com
  2. BIS Triennial Survey — OTC foreign exchange turnover in April 2022: an over-the-counter market with no central exchangebis.org
InnoMP Research · Education Desk

Trading education from first principles — position sizing, risk, market structure and the habits that keep accounts alive. Written for someone who has never opened a chart, with a diagram at every step.

Published 24 Sept 2026 · Updated 24 Sept 2026

Disclaimer: This content is provided for general informational purposes only and does not constitute investment advice, an offer, or a solicitation to buy or sell any financial instrument. It has been prepared without regard to your individual financial circumstances or objectives. Trading CFDs involves a high risk of loss.

Related notes

InnoMP Research cover art — a curve, not a price
Market structure

How to trade oil CFDs: a framework for WTI crude

A CFD on crude tracks a monthly futures contract, which changes how oil moves and what it costs to hold. Drivers, the roll, the Wednesday report, and sizing.

8 min read