Skip to content

Knowledge library

Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.

Quant Q&A
20,364 documents
SuperMind
12,226 documents
OKX Learn
8,431 documents
Strategy library
7,910 documents
MQL5 code base
7,090 documents
BigQuant
3,481 documents
Bitget Academy
3,298 documents
MQL5 articles
3,012 documents
TradingView scripts
1,976 documents
ProRealCode
1,507 documents
Deribit Insights
1,232 documents
Machine Learning for Trading
1,124 documents
arXiv papers
1,033 documents
Amberdata research
766 documents
FMZ forum
682 documents
FMZ digest
662 documents
vn.py community
560 documents
QuantInsti blog
511 documents
Galaxy Research
340 documents
QuantStart
246 documents
Stratmill research code
219 documents
Robot Wealth
195 documents
NautilusTrader
191 documents
Hummingbot docs
181 documents
Paradigm research
175 documents
Lumibot
164 documents
Kraken Learn
163 documents
Quant course library
157 documents
OctoBot
152 documents
Cryptohopper blog
144 documents
Systematic trading blog (Rob Carver)
132 documents
Qlib
116 documents
TqSdk
86 documents
Quantpedia
86 documents
Hyperliquid docs
79 documents
Freqtrade
68 documents
Hudson & Thames
62 documents
Awesome Systematic Trading
61 documents
backtrader
54 documents
vn.py
50 documents
Binance API docs
45 documents
Quantopian lectures
45 documents
FMZ guides
38 documents
pysystemtrade
34 documents
Freqtrade docs
32 documents
quant-trading
31 documents
FinRL
28 documents
Zipline
22 documents
FMZ live strategies
21 documents
Jesse
17 documents
pyfolio
16 documents
Alphalens
14 documents
WonderTrader
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

124 documents

Machine Learning for Trading

This case study fits regularized linear models to returns from short at-the-money straddles held to expiry. Because premium income caps the gain while losses can grow without bound, a few severe losses dominate a squared-error regression objective. The…

OptionsVolatilityMachine learningRisk management
Machine Learning for Trading

This notebook constructs four model-based features for S&P 500 option research: next-day volatility forecasts from GJR-GARCH and stochastic volatility, plus the differences between each forecast and the option market’s implied volatility. It explains how the…

OptionsVolatilityDerivatives pricingBacktesting
Machine Learning for Trading

This notebook tests whether learned graph embeddings add predictive information to a tabular model for US stocks. It builds a network from absolute return correlations measured before the target period, constructs momentum, volatility, and trend features…

EquitiesMachine learningBacktestingMomentum
Machine Learning for Trading

This notebook compares ways to measure volatility and develops heterogeneous autoregressive (HAR) volatility models alongside roughness analysis. It uses intraday returns to estimate session realized variance, distinguishes intraday movement from overnight…

VolatilityStatisticsTechnical indicatorsEquities
Machine Learning for Trading

This notebook compares four reference ETF allocations using historical crisis windows, hand-authored simultaneous asset shocks, Student-t Monte Carlo simulations, and market-regime statistics. It explains a maximum drawdown measure and uses daily…

Multi-assetRisk managementPortfolio constructionVolatility
Machine Learning for Trading

This notebook diagnoses how a fixed, long-only ETF momentum baseline performed across market conditions from 2010 to 2024. It labels each daily return using volatility and trend measures known before that return began, with expanding historical medians…

EquitiesMomentumTrend followingVolatility
Machine Learning for Trading

This notebook develops Black-Scholes pricing for European calls and puts, checks put-call parity, and computes implied volatility with Brent root-finding. It also defines Delta, Gamma, Vega, Theta, and Rho and uses plots to illustrate how option…

OptionsDerivatives pricingVolatilityRisk management
Machine Learning for Trading

This ETF feature notebook explains how fitted statistical models can leak future information through their estimated parameters, even when their formulas use past observations. Its remedy is a walk-forward refit schedule: allow an initial burn-in, fit using…

EquitiesMachine learningStatisticsVolatility
Machine Learning for Trading

This case study constructs features for comparing variance risk premiums across S&P 500 stocks using 30-day at-the-money straddles and underlying price data. It measures implied volatility against realized volatility at several horizons, adds option-market…

OptionsEquitiesVolatilityBacktesting
Machine Learning for Trading

This analysis checks whether daily option data can support a weekly strategy that sells at-the-money straddles on S&P 500 constituents, delta hedges shares, and holds contracts to expiration. It explains how calls and puts form a straddle, how implied and…

OptionsVolatilityExecutionBacktesting
Machine Learning for Trading

This pipeline constructs financial features for an ETF deployment workflow from OHLCV prices and a yield curve. It derives returns and risk-adjusted returns across multiple lookback periods, momentum acceleration and volatility ratios, then adds common…

EquitiesMomentumVolatilityTechnical indicators
Machine Learning for Trading

This notebook develops model-based features for crypto perpetual futures: per-asset conditional volatility forecasts from GJR-GARCH and a market-wide stressed-regime probability from a two-state Gaussian hidden Markov model fitted to funding settlements.…

CryptoPerpetual futuresVolatilityMachine learning
Machine Learning for Trading

This notebook uses maximum favorable and adverse excursion analysis to inform triple-barrier widths from observed price paths. For a long entry at a bar’s close, it measures the best high and worst low over the following holding window; short positions…

Risk managementVolatilityBacktesting
Machine Learning for Trading

This feasibility analysis checks whether the data and assumptions can support a weekly strategy that ranks S&P 500 stocks by at-the-money implied volatility and buys the leading shares. Options supply the signal, but positions are held in equities. The…

EquitiesOptionsVolatilityRisk management
Machine Learning for Trading

This notebook explores an economic data panel built from Federal Reserve Economic Data series. It establishes that the shipped panel uses calendar dates, including weekends and holidays, and shows how accompanying metadata identifies each series’ meaning,…

Fixed incomeVolatilityStatisticsUS markets
Machine Learning for Trading

This document explains how wavelet decompositions and rolling spectral estimates describe financial returns at different time scales. Wavelets divide returns into components spanning progressively slower periods, making it possible to see which scales…

EquitiesStatisticsVolatilityTechnical indicators
Machine Learning for Trading

The notebook explains how to separate continuous price variation from jumps in intraday equity returns. It estimates daily realized variance from squared returns and uses bipower variation as a jump-robust estimate of the continuous component; their…

EquitiesVolatilityStatisticsMarket microstructure
Machine Learning for Trading

This educational treatment compares parametric stochastic models and bootstrap methods for generating synthetic financial paths. It covers geometric Brownian motion, jump diffusion, mean reversion, Heston stochastic volatility, and GARCH, alongside…

StatisticsVolatilityRisk managementBacktesting
Machine Learning for Trading

This notebook screens candidate features for a strategy that sells at-the-money call and put options on the same stock with the same expiry, holding the straddle to expiration. For each feature, it measures whether the feature ranks available names in the…

OptionsEquitiesStatisticsRisk management
Machine Learning for Trading

This notebook builds forward return labels for short at-the-money straddles on S&P 500 stocks. Because the daily 30-day straddle panel rolls to a different strike or expiration each session, a shifted price series would compare different contracts. Instead,…

OptionsDerivatives pricingVolatilityBacktesting
Machine Learning for Trading

The notebook explains Value at Risk (VaR), which marks a loss quantile, and Conditional Value at Risk (CVaR), which averages losses beyond that threshold. Using daily ETF returns, it compares historical, Gaussian, Cornish–Fisher-adjusted, and Student-t Monte…

Risk managementVolatilityBacktestingPortfolio construction
Machine Learning for Trading

This notebook develops a simulated market-making task in which a PPO agent chooses quote skew and spread width. Fill probability declines as quotes move farther from the mid price, while order imbalance affects both fills and subsequent price moves. A…

Market makingMachine learningExecutionMarket microstructure
Machine Learning for Trading

This teaching notebook compares target-label methods for supervised trading models using ETF data. It covers fixed-horizon returns and direction labels, rolling time-series percentiles, cross-sectional percentiles, triple-barrier labels with fixed or…

Machine learningStatisticsBacktestingRisk management
Machine Learning for Trading

This notebook compares three ways to use market regimes in forecasting: a baseline model without a regime input, a single model given the filtered probability of a volatile state, and separate models trained within hard regime assignments. To avoid…

EquitiesMachine learningStatisticsVolatility