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

106 documents

Machine Learning for Trading

This notebook compares portfolio weighting rules for selling straddles on selected S&P 500 symbols. It holds the chosen symbols constant and varies allocation, using equal weight as the baseline. The methods include weighting by predicted score, inverse…

OptionsPortfolio constructionPosition sizingBacktesting
Machine Learning for Trading

This case study assesses a weekly S&P 500 options short straddle using registered backtests. It selects a configuration from a nominated liquid universe, ranks candidates on validation, and evaluates the chosen configuration on holdout data without using…

OptionsEquitiesBacktestingRisk management
Machine Learning for Trading

This notebook explains how a stochastic discount factor (SDF) prices a cross-section of equity option signals. Unlike factor models that estimate exposures and factor returns, the SDF approach estimates one random variable that makes asset returns price…

OptionsEquitiesMachine learningFactor investing
Machine Learning for Trading

This notebook applies a previously selected S&P 500 equity and options strategy to predictions for a separate 2021 holdout period. It carries the selected configuration forward unchanged, including its allocator, concentration rules, risk overlay, and…

EquitiesOptionsBacktestingRisk management
Machine Learning for Trading

This document describes building a cross-sectional feature matrix for S&P 500 stocks by combining adjusted share-price histories with summarized option implied-volatility surfaces. It organizes features by role, input, lookback, and observability delay.…

EquitiesOptionsVolatilityMomentum
Machine Learning for Trading

This feature-engineering notebook constructs variables that require information beyond one asset’s price history. For futures, it computes annualized roll yield from contemporaneous near and deferred contract levels, plus term-structure slope and curvature…

FuturesOptionsCarryVolatility
Machine Learning for Trading

This notebook builds model-based conditional volatility features for S&P 500 shares with a GJR-GARCH(1,1) model, then compares an option-implied volatility spread measured against realized volatility with one measured against a model forecast. Since…

EquitiesOptionsVolatilityMachine learning
Machine Learning for Trading

This notebook fits a PCA latent-factor model to a panel of stock returns, without using option-surface features, characteristics, or target information. PCA extracts leading directions of historical cross-sectional co-movement, estimates each stock's…

EquitiesOptionsMachine learningStatistics
Machine Learning for Trading

This setup document defines a weekly S&P 500 equity research pipeline that uses options market features alongside price-based signals. It specifies the eligible universe, decision and execution timing, and distinct rebalance cadences for labels with…

OptionsEquitiesVolatilityMomentum
Machine Learning for Trading

This notebook compares squared error, absolute error, and Huber loss for gradient-boosted models predicting short at-the-money straddle returns. The target has a capped gain and potentially severe losses, so the fitting loss may affect how well predictions…

OptionsVolatilityMachine learningStatistics
Machine Learning for Trading

This document outlines a two-pass method for extracting source observations used in an S&P 500 options straddle study. First, it identifies call and put contracts meeting a near-the-money candidate screen based on days to expiration, absolute delta,…

OptionsVolatilityDerivatives pricingStatistics
Machine Learning for Trading

The document evaluates how trading costs change the validation performance of one previously selected S&P 500 equity and options allocation. It sweeps one-way charges as a fraction of traded value and compares them with a flat per-share commission and…

EquitiesOptionsBacktestingExecution
Machine Learning for Trading

This notebook applies TabM, a weight-sharing neural ensemble, to stock-return targets built from equity-option features. Its members use a common two-layer network backbone, with separate activation scaling vectors and output heads whose predictions are…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This notebook declares and runs a double machine learning analysis of the variance risk premium’s effect on S&P 500 option returns to expiry. It makes the estimand, observed timing, confounders, temporal cross-validation setup, nuisance model, HAC covariance…

OptionsUS marketsMachine learningStatistics
Machine Learning for Trading

This document explains why a daily constant-maturity option series is not a return series for a position actually held. It selects same-strike, same-expiration call and put legs that pass liquidity, maturity, volatility-estimation, and delta filters, then…

OptionsVolatilityBacktestingDerivatives pricing
Machine Learning for Trading

This notebook fits TabM neural models to an S&P 500 options short-straddle return target and compares three model capacities on the same feature panel used by linear and boosting approaches. TabM shares a neural backbone across ensemble members, while…

OptionsEquitiesMachine learningBacktesting
Machine Learning for Trading

This notebook demonstrates deep hedging for a short European call. It simulates geometric Brownian motion paths, uses Black–Scholes delta hedging as a benchmark, and trains a semi-recurrent neural network to choose underlying positions that minimize a…

OptionsDerivatives pricingMachine learningRisk management
Machine Learning for Trading

This notebook evaluates position-level controls for an S&P 500 equity-and-options allocation, comparing fixed stop losses, trailing stops, and time exits with each strategy's own no-overlay baseline. It selects an eligible strategy lineage using validation…

EquitiesOptionsRisk managementBacktesting
Machine Learning for Trading

This notebook evaluates whether option-market measures can rank future returns across stocks. It fits declared linear models on option-derived features, using walk-forward validation, and compares penalty strengths for ridge, lasso, and elastic net. The…

OptionsEquitiesVolatilityMachine learning
Machine Learning for Trading

This study asks whether option-market quantities can rank future stock returns. Its features include implied volatility across maturities, put-call skew, term-structure slope, and the variance risk premium. Because many measures are represented in several…

OptionsEquitiesVolatilityMachine learning
Machine Learning for Trading

This notebook assesses a selected S&P 500 equity and options strategy by reconstructing its validation configuration from registered, full-coverage candidates. It traces the funnel from equal-weight baseline through allocation, risk controls, and cost…

EquitiesOptionsBacktestingRisk management
Machine Learning for Trading

This notebook assesses a weekly S&P 500 options straddle strategy using registered backtests and a fixed selection process. It resolves the selected configuration from the registry after applying a liquid-universe restriction, then evaluates validation and…

OptionsEquitiesBacktestingRisk management
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