Trading 101 — Order books & slippage · Lesson 1 of 5

What is a market, really?

2 min · read

A market is two things at once:

  1. A meeting place where buyers and sellers agree on a price.
  2. An information system where that price tells you what other people think something is worth right now.

When you swap XRP for USD on the XRPL DEX, you are doing two things at once: you are trading, and you are voting on the price. That second part matters more than you think. A market with two participants is not really a market — the price is whatever the louder one says. A market with thousands of participants is harder to fool. This is why depth (how many people are participating, and with how much) is the single most important number you'll learn to read in this course.

The two kinds of markets you'll use

Gopnik supports both, side by side. They behave very differently.

Order book markets (like the XRPL DEX) match individual buyers and sellers. Someone says "I'll sell 100 XRP at $0.55." Someone else says "I'll buy 100 XRP at $0.54." The book is the list of all those offers, stacked from highest bid to lowest ask. When you place an order, it either matches an existing one or sits in the book waiting.

AMM markets (Automated Market Makers — also on XRPL) don't have a book. Instead, they have a pool of two assets, and the price is set by a mathematical formula based on the ratio. When you trade, you shift the ratio. The bigger your trade relative to the pool, the more you shift, and the worse the price.

Both produce a price. But they fail in different ways. Lesson 3 (Slippage) is where that difference becomes real money.

One concept to take with you

You are not buying XRP. You are buying XRP from someone, at a price they agreed to, at this moment, in this venue. Everything else in this course is detail on top of that sentence.

In the next lesson we'll look at the actual screen the wallet shows you — the bid, the ask, and the gap between them.