five parts · one market · for people who will build

Financial Markets

Most introductions to finance teach you the vocabulary and stop. This one is written for the person who will go on to build the trading system — so every idea arrives attached to the number, the data structure or the failure mode you will actually meet in code. Five parts: what systematic trading is, what you can trade, what a derivative does, how markets are organised, and how a price is really made — one order at a time, inside a limit order book you can click.

Start with Part 1 See the five parts Trace one trade Who trades, and why
$45T
US equity market cap
$130T
Global bond market
$7.5T
FX turnover · per day
$0.01
One tick · where it all happens
The path

Five parts, read in order

Each part assumes the one before it. Part 1 gives you the machine — signal, risk, execution, infrastructure, monitoring — and the honesty to distrust your own backtest. Parts 2 and 3 fill it with instruments. Parts 4 and 5 explain the venue those instruments trade on, ending inside the order book where every price you have ever seen was actually made.

5 parts shown
Part 1

What Is Systematic Trading?

A rule you can write down, test, and run identically a thousand times — and the five pillars that keep it alive when it meets a real market.

five pillarsalpha familiesbacktest liesSharpe
Read Part 1
Part 2

Asset Classes

Equities, bonds, FX, crypto, commodities: what each one actually is, what moves it, and why the same strategy code behaves differently on each.

price ↔ yielddurationtriangular arbT+1
Read Part 2
Part 3

Derivatives

Forwards, futures, options and swaps: contracts whose value is borrowed from something else, and the leverage that makes them useful and dangerous.

payoffdeltabasismargin
Read Part 3
Part 4

Market Types & Structure

Primary and secondary, exchange and OTC, lit and dark, auction and continuous — who you trade against changes with the venue you chose.

lit vs darkauctionsroutingclearing
Read Part 4
Part 5

Market Microstructure

The plumbing beneath every printed price: the limit order book, queue priority, the spread as a tax on urgency, impact, and what “liquid” measures.

CLOBprice-timeimpactmaker/taker
Read Part 5
Interactive · the whole site in one pipeline

Lifecycle of a systematic trade

One trade crosses seven stages between a tick arriving and a number changing in your P&L. Step through them. Each stage tells you what happens, what it costs, and which part of this site explains it — so the pipeline doubles as a table of contents. The clock and the money are cumulative: by the last stage you can see how much of the theoretical edge survived the journey.

Stage
0 / 7
Elapsed
0 ms
Cost so far
0.0 bps
Edge left
18.0 bps
The signal claims 18 bps of expected edge. Press Step and watch the market take its cut.

The seven stages

This stage

Nothing has happened yet

A tick is sitting on the wire. Press Step to let it in.

——

      
Interactive · the other side of your trade

Who trades, and why

Every fill you ever get came from somebody, and that somebody had a reason. The single most useful habit in systematic trading is asking who was on the other side, and were they happy about it. Pick a participant: their objective, holding period, instruments and profit engine tell you whether meeting them is an opportunity or a warning.

selected participant everyone else horizontal axis = typical holding period, log scale

—

Objective

How they make money

Horizon
—
Instruments
—
Systematic?
—
Before anything else

Start here

Read the five parts in order — each is about 25 minutes and each ends with three questions you should be able to answer without scrolling back up. Tick them off as you go; the ticks live only in this browser tab and nothing is sent anywhere.

Progress: 0 of 5 parts

Nothing here needs an account, a data subscription, a GPU or a broker. Every diagram on every page is drawn by the page’s own script from a seeded pseudo-random path, so the same slider always gives you the same market and you can argue with the numbers.

Where to go

Read on

Code
Get the code
A public starter repo with a matching engine, a market maker, a bot template and an offline simulator. Use it as a template, clone, make install.
Next
Part 1 · What Is Systematic Trading? →
A market, a rule, five pillars, and the four ways a backtest lies to you.
Or jump to the end
Part 5 · Market Microstructure
If you only read one page, read the one about the order book. Every printed price is made there.