DeFi Markets

Decentralized finance re-derives, on-chain, many of the structures that traditional market microstructure spent decades building: price discovery, liquidity provision, market making, and primary issuance. The twist is that every mechanism must survive inside a severely constrained execution environment — a blockchain whose throughput is orders of magnitude below a single matching engine at NYSE.

That constraint is what makes DeFi intellectually interesting. It forces designers to replace the limit order book (a data structure that demands low-latency random access) with closed-form pricing functions that a smart contract can evaluate in a single transaction. The result — the automated market maker — turns out to be a rich object of study that connects information economics, convex analysis, and options theory.

Reading Order

The articles below build on each other and on the Market Microstructure topic area.

#ArticleCore idea
2.1dex-design-constraintsWhy blockchains can’t run order books, and the design space that follows
2.2constant-product-ammFull derivation of the invariant and its price-impact function
2.3impermanent-lossWhat LPs actually pay for providing liquidity — derived from first principles
2.4lp-profitabilityFee income vs IL: when providing liquidity is rational
2.5bonding-curvesPrimary-market pricing via bonding curves (Pump.fun and friends)
2.6pumpswapVertical integration of issuance and secondary trading

Connection to Traditional Microstructure

Many DeFi concepts have direct TradFi analogues:

  • Constant-product AMM parallels a specialist who quotes a deterministic supply/demand schedule — compare with order book dynamics.
  • Impermanent loss is the cost of adversely-selected flow, the on-chain version of the Kyle lambda adverse-selection cost.
  • LP P&L mirrors the market maker’s fundamental tension: earning the spread while bleeding to informed traders.
  • Bonding curves resemble Dutch auctions and bookbuilding mechanisms from equity issuance.

The math is often simpler in DeFi (closed-form invariants vs stochastic games), which makes it a good playground for building intuition before tackling the messier traditional setting.