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 explains why a generic target-weight risk overlay cannot govern the described S&P 500 short-straddle strategy. The options engine allocates fixed capital fractions to weekly cohorts and normalizes weights within each cohort; scaling those…

OptionsRisk managementBacktestingDerivatives pricing
Machine Learning for Trading

This notebook builds forward share-return labels for a strategy that reads listed options data to rank equities and then holds the shares. It creates an adjusted price series that accounts for corporate actions and identifies companies by persistent security…

EquitiesOptionsStatisticsBacktesting
Machine Learning for Trading

This case study examines whether information from listed options can help select S&P 500 stocks. It combines daily equity prices with option-implied volatility levels, skew, term structure, and variance risk premium measures across 633 stocks from 2017 to…

EquitiesOptionsBacktestingRisk management
Machine Learning for Trading

The document describes a specialized backtest for a weekly S&P 500 options strategy. Each cohort selects highly ranked constituents, sells near-the-money call and put options with roughly a month to expiration, and delta-hedges with shares when net delta…

OptionsEquitiesUS marketsBacktesting
Machine Learning for Trading

This notebook explains instrumented principal component analysis (IPCA), which estimates common factors while making each stock’s factor exposures a shared linear function of its same-day option-surface features. Those features include implied volatility,…

OptionsEquitiesFactor investingMachine learning
Machine Learning for Trading

This exploratory analysis introduces option contracts and chain structure, then profiles a 2020 sample of S&P 500 options across eight underlyings. It explains moneyness, intrinsic and time value, implied volatility, Greeks, and how strike, expiration, and…

OptionsEquitiesVolatilityDerivatives pricing
Machine Learning for Trading

This notebook evaluates position-level stop losses, trailing stops, and time exits on the allocation lineage that ranks highest by validation Sharpe among eligible full-coverage candidates. Each overlay is compared with its own no-overlay parent, isolating…

EquitiesOptionsRisk managementBacktesting
Machine Learning for Trading

This notebook compares portfolio weighting rules for an S&P 500 options strategy that sells straddles. It holds the selected symbols and other strategy settings fixed while replacing the equal-weight baseline with allocators that use either model predictions…

OptionsEquitiesPortfolio constructionPosition sizing
Machine Learning for Trading

This notebook applies TabM, a tabular neural architecture that shares a two-layer feature network across ensemble members. Each member scales the shared representation with its own learned vector and uses its own output layer; averaging member predictions…

OptionsMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook describes producing an out-of-sample prediction set for a previously selected S&P 500 options model. It fixes the configuration using validation results, refits that configuration on pre-holdout data, and registers predictions for the holdout…

OptionsBacktestingRisk management
Machine Learning for Trading

This notebook fits PatchTST, a transformer-style sequence model, as one member of a predeclared population of models for S&P 500 options research. It divides a lookback series into fixed-length patches, embeds them as tokens, and uses attention to relate…

OptionsMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook runs the NLinear member of a declared three-model sequence-learning population for S&P 500 options. It resolves the requests and checkpoints for the full population before fitting this member, so later notebooks can execute the LSTM and…

OptionsUS marketsMachine learningBacktesting
Machine Learning for Trading

This notebook applies double machine learning to examine whether the implied-minus-realized volatility spread is associated with subsequent equity returns after adjustment for observed confounders. It identifies realized volatility, equity momentum, and…

EquitiesOptionsVolatilityMachine learning
Machine Learning for Trading

This notebook builds conditional-volatility features for an S&P 500 equity and options study using a GJR-GARCH model. Unlike fixed rules based on past prices, fitted features depend on their estimation window. The method therefore declares a refit schedule,…

EquitiesOptionsVolatilityBacktesting
Machine Learning for Trading

This document describes how to reduce large S&P 500 option chains into daily per-symbol datasets for research. Its surface summary selects options nearest target absolute deltas within maturity buckets, then derives at-the-money implied volatility at…

OptionsVolatilityDerivatives pricing
Machine Learning for Trading

This case study evaluates short at-the-money straddles on S&P 500 constituents, entered weekly and held until expiry with a daily delta hedge. Its main methodological choice is to model hold-to-maturity returns: the option position incurs an entry spread but…

OptionsVolatilityBacktestingExecution
Machine Learning for Trading

This notebook evaluates how transaction-cost assumptions affect the validation Sharpe of one selected S&P 500 equity and options allocation. It carries forward the configuration chosen through a frozen candidate set when available, then reruns the same…

EquitiesOptionsExecutionBacktesting
Machine Learning for Trading

This case study builds features for researching whether at-the-money implied variance exceeds subsequent realized variance for S&P 500 names, and whether the difference varies across securities. It combines straddle quotes with underlying prices to measure…

OptionsVolatilityEquitiesBacktesting
Machine Learning for Trading

This notebook examines whether financial features help explain a 10-session delta-hedged options return label. It compares Ridge models using one implied-volatility feature, groups of implied-volatility-dependent and independent features, and the full…

OptionsEquitiesStatisticsMachine learning
Machine Learning for Trading

This notebook measures how validation Sharpe for at-the-money S&P 500 option straddles changes across assumed execution costs and two option universes. It expresses spread cost as a fraction of the quoted option half-spread, since option premium and…

OptionsUS marketsBacktestingExecution
Machine Learning for Trading

This notebook fits gradient-boosted tree models to options-market features that encode forecasts such as implied volatility, skew, term structure, and variance risk premium. It compares tree capacity and regression loss choices across forward-return and…

OptionsMachine learningVolatilityBacktesting
Machine Learning for Trading

This notebook compares predictive, structural, and causal model evidence for a cross-sectional S&P 500 study combining equity features with options-derived measures such as implied volatility, skew, and term structure. It evaluates weekly forward-return…

EquitiesOptionsMachine learningFactor investing
Machine Learning for Trading

This notebook uses double machine learning to test whether the association between the implied-minus-realized volatility spread and future equity returns persists after adjustment for observed confounders. It compares the adjusted estimate with naive…

OptionsEquitiesMachine learningStatistics