Tag: arbitrage

  • Day 19 — How Can You Trade Without an Order Book?

    Watercolor illustration of an automated market maker balancing two token reserves in a liquidity pool

    Trading without an order book

    An automated market maker, or AMM, lets people trade crypto without a traditional order book.

    Instead of matching buyers with sellers, an AMM uses a liquidity pool and a pricing formula.

    This is one reason decentralized exchanges can run directly on blockchains.

    What a liquidity pool is

    A liquidity pool holds two or more tokens inside a smart contract.

    Users called liquidity providers deposit tokens into the pool. In return, they may earn trading fees.

    When someone swaps tokens, they trade against the pool rather than another person.

    How the price changes

    Many basic AMMs use a simple idea often written as x*y=k.

    If a trader removes one token from the pool, the pool charges more of the other token.

    Therefore, large trades can move the price more. This effect is called slippage.

    Why arbitrage matters

    AMM prices can drift away from prices on other markets.

    Arbitrage traders notice the gap. Then they trade until the AMM price comes closer to the wider market.

    The takeaway

    An automated market maker turns a smart contract into a simple trading venue.

    It is open and useful, but traders still need to understand liquidity, slippage, and smart contract risk.