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

1,124 documents

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 case study explains how to generate predictions for a holdout period after model and strategy choices have been made on validation data. It resolves the previously selected configuration, reconstructs its training specification, and fits it again using…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This notebook builds an LSTM allocator that maps recent ETF return and volatility features directly to long-only portfolio weights. A softmax output keeps weights nonnegative and fully invested, while a differentiable Sharpe-ratio objective trains the…

Machine learningPortfolio constructionBacktestingRisk management
Machine Learning for Trading

This notebook introduces EdgarTools for exploring SEC filings by company and filing type. It demonstrates looking up issuers using stable CIK identifiers, retrieving annual and quarterly reports, extracting XBRL financial statements, and inspecting insider…

EquitiesUS marketsBacktestingStatistics
Machine Learning for Trading

This notebook applies principal component analysis to changes in eight Treasury constant-maturity yields, spanning one to thirty years. It removes forward-filled calendar rows with no yield changes and standardizes the remaining observations before PCA, so…

Fixed incomeStatisticsRisk managementPortfolio construction
Machine Learning for Trading

This notebook describes an LSTM sequence model for predicting stock returns from ordered windows of recent features. Each example uses 60 consecutive sessions for one stock; windows that cross listing gaps, halts, or other interruptions are excluded so that…

EquitiesMachine learningStatisticsUS markets
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 reference summarizes listed contract months for 35 CME futures products across equity indexes, Treasuries, energy, metals, currencies, interest rates, agriculture, livestock, and crypto. It explains the exchange’s month-code system and distinguishes…

FuturesMarket microstructureBacktestingCommodities
Machine Learning for Trading

This notebook synthesizes registered validation results for five latent-factor estimators—PCA, IPCA, CAE, SDF, and SAE—across nine case studies. It first reports which estimators have results in each panel, then identifies the highest mean daily Spearman…

Factor investingMachine learningStatisticsEquities
Machine Learning for Trading

This document describes a pipeline for downloading official Binance USD-M perpetual funding records, normalizing them, and caching them in a columnar file. Monthly archives are fetched concurrently for the requested symbols and date range. The records are…

CryptoPerpetual futuresDerivatives pricingBacktesting
Machine Learning for Trading

This notebook applies TabM, a weight-sharing neural ensemble, to a US equities panel represented as one feature row per stock and session. A shared two-layer backbone feeds multiple members, each with its own scaling vector and output layer; averaging their…

EquitiesMachine learningBacktestingStatistics
Machine Learning for Trading

This analysis selects one configuration from a frozen pool of crypto perpetual-futures candidates spanning four prediction labels and multiple strategy stages. It chooses the highest validation Sharpe and treats label, split, and execution details as part of…

CryptoPerpetual futuresStatisticsBacktesting
Machine Learning for Trading

This notebook defines forward-return targets for ranking US stocks and explains how to make their horizons correspond to actual trading sessions. It uses split- and dividend-adjusted prices for returns, but uses the contemporaneous printed close and dollar…

EquitiesMomentumStatisticsBacktesting
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 script gathers institutional holdings from SEC 13F filings in two ways: it can retrieve filings for a curated set of managers or download the SEC’s quarterly bulk files. Both paths normalize holdings into a shared schema, with the bulk path designed for…

EquitiesStatisticsPortfolio construction
Machine Learning for Trading

This notebook applies principal component analysis to a panel of US stock returns to represent broad shared movements with a smaller set of factors. Each factor is a direction of common variation, and each stock’s loading describes its exposure to that…

EquitiesStatisticsMachine learningFactor investing
Machine Learning for Trading

This notebook compares gradient boosting configurations for crypto perpetual futures using features built around the premium of perpetual contracts over spot. It varies tree capacity and loss function, including squared, absolute, and Huber losses, and…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This notebook explains how to extract insider transactions from raw SEC Form 4 XML for quantitative equity research. It uses an XML parser to keep each trade’s code, date, share count, price, and direction attached to its transaction block, while separately…

EquitiesEvent-drivenSentimentStatistics
Machine Learning for Trading

This notebook uses double machine learning to estimate whether futures carry predicts subsequent returns independently of volatility, momentum, and cross-sectional carry rank. It residualizes both carry and returns against these confounders with flexible…

FuturesCarryMachine learningStatistics
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 case study lays out a research pipeline for crypto perpetual futures, treating funding payments exchanged between long and short positions at regular settlements as a potential return source. It describes data and model stages from label construction…

CryptoPerpetual futuresFuturesMachine learning
Machine Learning for Trading

This analysis compares feature triage results across nine trading case studies and asks whether features that pass screening predict stronger strategies. Its screening combines Benjamini–Hochberg false-discovery control with a second route based on a case…

StatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook describes DeePM, an end-to-end ETF portfolio policy designed to improve performance across varying market conditions. Its components include volatility-normalized return and trend features, an LSTM-based model, variable selection, conditioning…

Multi-assetPortfolio constructionMachine learningRisk management
Machine Learning for Trading

This case study applies causal estimation to ETF momentum and asks whether its effect on forward returns varies with market volatility. It uses a continuous momentum treatment, a 21-day forward-return outcome, volatility and yield-curve controls, and a…

EquitiesUS marketsMomentumMachine learning