Qm

Topic · Quant Development & Systems

← All topics

Infrastructure & Testing

26 articles · 4 checkpoints · 17 deeper reads · 5 reference notes

Every article, in reading order

plant a flag as you finish each

Read these first

  1. A unit test checks one small piece of code in isolation against a known expected result, run automatically every time the code changes, so a broken calculation is caught in seconds rather than discovered live weeks later.

  2. Git tracks every change to a codebase as a chain of snapshots, so a research or trading team can work in parallel, undo mistakes, and know exactly which version of the code produced any given backtest or trade.

  3. A kill switch is a mechanism, ideally simple and independent of the strategy's own logic, that halts trading the instant something looks wrong, because a bug in a runaway algorithm doing the wrong thing quickly is far more dangerous than one doing nothing at all.

  4. Instead of checking a function against a handful of examples you thought of, property-based testing generates hundreds of random inputs and checks that a general rule always holds, which finds the edge cases a human wouldn't think to write by hand.

Then the rest

Reference notes5 short entries