01Chapter 1: How order books workThis chapter assumes you know what a cryptocurrency exchange is and how to hold funds on one. You should be comfortable with percentages and simple arithmetic. You only need to read basic Python, because the examples are short. You do not need to know anything about futures or perpetual swaps yet. L6 min read
02Chapter 2: Order types, makers and takers, and feesThis chapter assumes you know what an order book is: resting bids and asks, the best bid and ask, and the spread. You should also be comfortable with percentages and with reading short Python functions. It covers how an order's instructions decide whether you pay or earn liquidity fees, and how fees5 min read
03Chapter 3: Liquidity, depth, and slippageThis chapter assumes you know how an order book stores bids and asks, what the spread is, and the difference between market and limit orders. It also assumes you can read short Python functions. Here you will measure how much a trade of a given size moves the price against you.5 min read
04Chapter 4: Spot marketsThis chapter assumes you have read the order book chapters. You should know what bids, asks, makers, takers and slippage are. It also assumes you can read basic Python. Spot is the baseline for the rest of the tutorial. Futures and perpetual swaps are defined by how they differ from it, and their pr5 min read
05Chapter 5: Why derivatives existThis chapter explains why derivatives markets exist, what they let a trader do that spot trading does not, and where the costs and risks come from. It assumes you know what an order book is, how spot trading settles, and how to read short Python functions. It leads into dated futures, which come nex5 min read
06Chapter 6: Dated futuresThis chapter assumes you know how an order book works, how spot markets settle ownership, and why derivatives give exposure without ownership. You should also be able to read short Python functions. It covers how a dated future is defined, how it settles, and the mistakes people make when they first6 min read
07Chapter 7: Basis and convergenceThis chapter assumes you know what spot and dated futures are, can read simple Python, and are comfortable with percentages. It covers the gap between a futures price and the spot price, why that gap closes at expiry, and how to turn it into a yearly rate you can compare.5 min read
08Chapter 8: Linear and inverse contractsThis chapter covers how a derivatives contract's size and settlement currency determine profit, loss, and margin. It assumes you know what a futures or perpetual contract is and how margin works in general. It also assumes you can read short Python functions.5 min read
09Chapter 9: Margin and leverageThis chapter assumes you know what a futures contract is, how a long and a short position differ, and how linear contracts are priced. It also assumes you can read short Python functions. Liquidation gets its own chapter. Here we cover the accounting that decides when it happens.5 min read
10Chapter 10: Perpetual swapsThis chapter assumes you know how dated futures work (expiry, settlement, basis), what margin and leverage mean, and how to read short Python functions. It covers what a perpetual swap is, how it differs from a dated future, and the errors people commonly make with it. Index price, mark price, and f6 min read
11Chapter 11: Index price and mark priceThis chapter assumes you know how order books and spot markets work, what a perpetual swap is, and the basics of margin. You should also be able to read short Python functions. Perpetual swaps have no expiry, so their price has to be tied to spot some other way. Two reference prices do that job: the6 min read
12Chapter 12: Funding ratesThis chapter assumes you know what a perpetual swap is, how index and mark prices differ, and how margin works. It also assumes you can read short Python functions. Here you will learn how the funding rate is built, who pays whom, and what it costs to hold a position.5 min read
13Chapter 13: LiquidationThis chapter assumes you know what margin and leverage are, what a perpetual swap is, and how mark price differs from last traded price. It also assumes you can read short Python functions. It covers when an exchange closes a leveraged position, how to estimate that price, and what makes the real nu5 min read
14Chapter 14: Insurance funds and auto-deleveragingThis chapter assumes you know how isolated margin works, what maintenance margin is, and how a mark price triggers liquidation. You also need to read short Python functions. The chapter covers what happens when liquidation fails to close a position at a safe price.5 min read
15Chapter 15: Basis and funding tradesThis chapter assumes you know how spot markets and order books work and how a dated future converges to spot at expiry. It also assumes you know how perpetual swaps use funding payments and how margin and liquidation work. You also need basic Python.5 min read
16Chapter 16: Managing risk with leverageThis chapter assumes you know how margin, leverage, mark price, funding and liquidation work from earlier chapters. It turns those pieces into a working routine for sizing positions and for deciding what could still hurt you.5 min read
17Chapter 17: Centralized and on-chain venuesThis chapter assumes you know how perpetual swaps, mark price, funding, liquidation, and insurance funds work. It covers where those products trade and how the venue changes your risk. The same contract can sit on a company's servers or in smart contracts on a blockchain, and the two behave differen5 min read