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
WonderTrader
14 documents
Alphalens
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

The document describes a feature pipeline that combines equity prices with summaries of listed options implied-volatility surfaces. Its central hypothesis is that disagreement between option-implied volatility and realized share volatility can help rank…

EquitiesOptionsVolatilityTechnical indicators
Machine Learning for Trading

This notebook explains how to apply four market impact models in a backtest: no impact, linear impact, square-root impact, and a configurable power law. Each model estimates a signed per-share price move based on order direction, quantity, price, and volume.…

ExecutionMarket microstructureBacktestingRisk management
Machine Learning for Trading

This document explains how hidden Markov models infer unobserved market regimes from returns and recent volatility. It first sets two transparent benchmarks: a volatility index threshold for stress and price relative to a long moving average for trend. It…

Machine learningStatisticsVolatilityTrend following
Machine Learning for Trading

This notebook explores ARIMA as a feature generator for models that may use its output alongside other predictors. It explains how ACF and PACF plots can suggest model orders, how information criteria can compare candidate orders on training data, and why…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook explains why a daily constant-maturity options series is not the return history of a single tradeable contract. Selecting a new near-the-money straddle each day can change the strike, expiration, or both. In particular, moving to a later…

OptionsVolatilityDerivatives pricingBacktesting
Machine Learning for Trading

This notebook presents lightweight falsification diagnostics for feature triage, explicitly distinguishing mechanism consistency from causal identification. It first scans ETF features across forward-return horizons with multiple-testing correction, then…

Machine learningStatisticsMomentumVolatility
Machine Learning for Trading

This notebook surveys supervised-learning labels using ETF price data. It covers fixed-horizon forward returns for regression or direction classification, time-series rolling percentiles, cross-sectional percentile labels, triple-barrier labels with fixed or…

Machine learningEquitiesVolatilityRisk management
Machine Learning for Trading

This notebook compares learned and analytical hedges for a short European call when rebalancing is discrete and trading incurs proportional costs. It defines the self-financing terminal P&L from hedge gains, turnover costs, and the option payoff, then trains…

OptionsDerivatives pricingVolatilityRisk management
Machine Learning for Trading

This utility measures the absolute relative change in an entered options straddle's premium over specified session horizons. It builds a valid straddle premium from paired call and put quotes with positive bids and asks above bids, then follows the exact…

OptionsVolatilityBacktesting
Machine Learning for Trading

This notebook explains how to build a cross-sectional futures feature matrix from three contract tenors per product. It derives carry and curve curvature from exchange-settled prices, while using roll-adjusted prices for return, momentum, and volatility…

FuturesCommoditiesCarryMomentum
Machine Learning for Trading

This US equities feature study explains how to generate features from estimated models without allowing future data into earlier observations. Its estimation schedule uses a history burn-in, fits parameters only on data before each output block, then…

EquitiesVolatilityTechnical indicatorsStatistics
Machine Learning for Trading

This analysis checks whether daily options and share data can support a weekly S&P 500 strategy that ranks constituents by thirty day at the money implied volatility and buys the highest ranked shares. Options provide the signal, while the portfolio holds…

EquitiesOptionsVolatilityBacktesting
Machine Learning for Trading

This notebook specifies and executes a double machine learning analysis of the effect of the variance risk premium on short-option returns through expiry. Before execution, it resolves the treatment, outcome, confounders, timing, nuisance model, temporal…

OptionsVolatilityMachine learningStatistics
Machine Learning for Trading

This case study fits regularized linear models to returns from short at-the-money straddles held to expiry. The trade collects call and put premiums, giving it a capped maximum gain but potentially very large losses when the underlying moves sharply.…

OptionsVolatilityMachine learningStatistics
Machine Learning for Trading

This notebook outlines validation-only diagnostics for a 10-session delta-hedged S&P 500 options return label. It organizes financial predictors into implied-volatility-dependent and independent groups, then compares Ridge models using a single volatility…

OptionsVolatilityStatisticsMachine learning
Machine Learning for Trading

This notebook builds rule-based features for a cross-section of CME futures, centered on carry from the spread between nearby delivery contracts. It also constructs momentum, volatility, curve-shape, and calendar features. The design distinguishes raw…

FuturesCommoditiesCarryMomentum
Machine Learning for Trading

This data exploration examines eight-hour premium-index observations for USDT-margined crypto perpetual contracts and explains how the premium relates to funding payments. The index uses executable impact bid and ask prices relative to the price index,…

CryptoPerpetual futuresArbitrageCarry
Machine Learning for Trading

This notebook builds model-based features for S&P 500 options research from underlying returns. It fits GJR-GARCH, which gives extra weight to negative return shocks, and a stochastic-volatility model whose latent variance is estimated with MCMC and tracked…

OptionsVolatilityStatisticsMachine learning
Machine Learning for Trading

This analysis introduces option-chain structure and examines a 2020 slice of S&P 500 options for eight underlyings. It explains moneyness, intrinsic and time value, Greeks, implied volatility, and the information represented by volatility skew and term…

OptionsVolatilityDerivatives pricingMarket microstructure
Machine Learning for Trading

This feasibility analysis asks whether the data and assumptions for a weekly, delta-hedged short-straddle strategy on S&P 500 constituents are plausible before fitting a model. It explains how calls and puts at the same strike and expiration form a straddle,…

OptionsVolatilityRisk managementBacktesting
Machine Learning for Trading

This environment models a market maker that adjusts quote center and spread in response to inventory, volatility, and a discrete action choice. Synthetic prices use conditional volatility generated with a GARCH process, while order imbalance evolves over…

Market makingMarket microstructureVolatilityRisk management
Machine Learning for Trading

This notebook trains a vanilla autoencoder on hourly returns for a basket of crypto perpetual markets. Returns are standardized using the training period, and a neural network compresses the multi-asset input into a two-dimensional latent representation…

CryptoMachine learningStatisticsVolatility
Machine Learning for Trading

This notebook compares reference ETF portfolios under historical crises, hand-defined simultaneous asset shocks, and Monte Carlo loss scenarios. Historical windows include major equity and rate-driven selloffs, with portfolio returns compounded over explicit…

Multi-assetPortfolio constructionRisk managementVolatility
Machine Learning for Trading

The document explains how to create currency-pair features from three fitted time-series models: a state-space filter that estimates a slowly changing price level, a two-state hidden Markov model for dollar volatility regimes, and an ARIMA model whose…

ForexStatisticsVolatilityBacktesting