Quant Research

Markets are noisy. Research should be explicit about that.

This is a growing library for quantitative finance and systematic trading: methods, experiments, failures, robustness checks, and ideas worth testing further.

Systematic TradingStrategy ValidationBacktestingStatistical InferenceOverfitting & Multiple TestingMarket BehaviorPortfolio & RiskMarket Microstructure

Glossary of the terms used in the notes

Research Notes

Figure 2 from the article: a triangle whose corners are 100% Health, 100% Energy and 100% Utilities, coloured by the growth per year of every mixture from 1927 to 2026; growth is highest, in yellow, along the Health–Energy edge with a single peak at 72% Health and 28% Energy, and three dark search paths climb toward it from different starting points
Portfolio & Risk

The Best Portfolio, Had We Known the Future

Searching past data for the best weights of a rebalanced portfolio, tested on 100 years of US industry returns and their 3× versions: why the search finds a single peak, why maximizing past growth bets everything on the last winner, and what to optimize instead.

Figure 4 from the article: two stacked line charts against leverage from 0.5× to 6× for 10-year windows of US stock-market history since 1926; the mean annual return climbs steeply while the median growth peaks near 3× and turns negative at 6×, and the chance of a 50% fall rises from 8% at 1× to 79% at 6×
Portfolio & Risk

When Does a Strategy That Works Also Survive?

Leverage, ruin and survival tested on 100 years of daily US stock-market returns: why a positive average does not protect against being wiped out, how margin calls turn a temporary fall into a permanent loss, and why a correct forecast can still fail when it comes too early.

Figure 1 from the article: five independent simulations of the chance that a 4% withdrawal plan runs out, one highlighted in blue, jumping between 0% and 20% in the first runs and settling toward 6.3% inside a shaded band that narrows as the number of simulated retirements grows to 100,000
Research Methods

How Many Simulations Are Enough?

A practical guide to Monte Carlo error: why the answer depends on the question, how to size and stop a simulation, why rare events need far more runs, and why a million runs of the wrong model are still wrong. Tested on a retirement plan built from 152 years of real US returns and on a leveraged fund.

Figure 3 from the article: two stacked line charts of three real 20-day QQQ windows that each gained about 8.5% to 9% with 12 positive days, where the idealized daily 3× product ends between about 19% and 28%
Portfolio & Risk

Why 3× Daily Leverage Is Not 3× Long-Term Return

A quantitative look at daily reset, compounding, path dependence and volatility, tested on five years of real QQQ, TQQQ and SQQQ history, with reproducible code and data.

Figure 2 from the article: three network drawings of the same 203 S&P 500 stocks from the 252 trading days ending December 30, 2024, colored by sector: a minimum spanning tree, a planar maximally filtered graph, and a fixed-density graph that splits into a connected core and many isolated stocks
Market Behavior

From Correlation Matrices to Stock Networks

Do stocks really diversify each other? An accessible, data-driven look at how 203 companies moved together, what network diagrams reveal, and where those diagrams can mislead.