01Chapter 1: How order books workThis chapter assumes that you know what a cryptocurrency exchange is, can read simple price and percentage values, and understand the difference between buying and selling an asset. The examples use a BTC/USDT market, where BTC is the base asset and USDT is the quote asset.2 min read
02Chapter 2: Order types, makers and takers, and feesAssume you know what a crypto exchange is, can read an order book, and are comfortable with percentages. This chapter focuses on how your order becomes a trade and how the exchange charges for it.2 min read
03Chapter 3: Liquidity, depth, and slippageAssume you know the basic structure of an exchange order book and can read simple Python. This chapter focuses on how available orders affect execution price in spot and derivatives markets.2 min read
04Chapter 4: Spot marketsAssume you know how an exchange account works, can calculate percentages, and have basic familiarity with Bitcoin, Ether, and Python. A spot market is a market where you buy or sell the asset itself at the current market price. Settlement means the exchange updates ownership balances after the trade2 min read
05Chapter 5: Why derivatives existThis chapter assumes you know what a cryptocurrency exchange is, how to hold crypto, and how to calculate simple percentages. You should also understand that a market price changes when buyers and sellers trade.2 min read
06Chapter 6: Dated futuresThis chapter assumes you understand spot trading, basic order books, percentages, and simple Python. A dated futures contract is an agreement to buy or sell an asset at a specified future date. Unlike a spot trade, it usually gives you price exposure without immediate ownership of the cryptocurrency2 min read
07Chapter 7: Basis and convergenceAssume you know how spot markets and dated futures work, and that you are comfortable with percentages and simple Python. This chapter explains why a futures price can differ from the spot price and why that difference often changes as expiry approaches.2 min read
08Chapter 8: Linear and inverse contractsThis chapter assumes you understand basic cryptocurrency markets, exchange accounts, percentages, and simple Python code. A contract is an agreement whose value follows an underlying asset, such as BTC-USD. The contract specification tells you what one unit represents, which asset provides margin, a2 min read
09Chapter 9: Margin and leverageAssume you understand cryptocurrency exchanges, spot trading, percentages, and basic Python. This chapter explains how a derivatives position uses collateral, how leverage changes exposure, and how isolated and cross margin differ.2 min read
10Chapter 10: Perpetual swapsThis chapter assumes you understand spot trading, basic percentages, and the idea of margin. A perpetual swap is a crypto derivative that tracks an asset price without an expiry date. It lets you take a long or short position without owning the underlying coin.3 min read
11Chapter 11: Index price and mark priceAssume you understand spot markets, futures, perpetual swaps, leverage, and basic percentages. This chapter explains two prices that a derivatives exchange uses internally: the index price and the mark price.2 min read
12Chapter 12: Funding ratesThis chapter assumes you understand spot markets, basic order books, percentages, and the difference between a long and a short position. It also assumes you know that a perpetual swap is a futures-like contract with no expiry date.2 min read
13Chapter 13: LiquidationAssume you understand basic crypto markets, percentages, exchange accounts, and simple Python. This chapter focuses on leveraged derivatives, where a trader controls a position larger than the collateral deposited.2 min read
14Chapter 14: Insurance funds and auto-deleveragingThis chapter assumes you understand perpetual swaps, leverage, maintenance margin, mark price, and liquidation. You should also be comfortable with percentages and basic profit and loss calculations.2 min read
15Chapter 15: Basis and funding tradesAssume you understand spot ownership, dated futures, perpetual swaps, margin, and simple percentages. This chapter connects those ideas into two related strategies: cash-and-carry trades using dated futures, and funding trades using perpetual swaps.2 min read
16Chapter 16: Managing risk with leverageAssume you understand spot trading, futures, perpetual swaps, margin, funding, mark price, and liquidation. This chapter focuses on controlling risk after opening a leveraged position.2 min read
17Chapter 17: Centralized and on-chain venuesThis chapter assumes you understand spot markets, perpetual swaps, margin, funding rates, mark prices, and liquidation. You should also be comfortable with crypto wallets, private keys, and simple percentage calculations.2 min read