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
Quantpedia
86 documents
TqSdk
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
Quantopian lectures
45 documents
Binance API docs
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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

566 documents

Machine Learning for Trading

This notebook applies a previously selected ETF configuration to its reserved holdout window. It derives the matching holdout predictions from the selected training identity and checkpoint, then uses the strategy's existing concentration, allocation, risk…

EquitiesBacktestingPortfolio constructionRisk management
Machine Learning for Trading

This evaluation workflow screens financial and model-based features against forward returns for a NASDAQ-100 intraday panel. It first reserves the final test period, excluding observations whose forward labels would settle within that window. For each…

EquitiesStatisticsMachine learningBacktesting
Machine Learning for Trading

This document describes a daily US equities dataset sourced from NASDAQ Data Link’s Wiki Prices archive. It covers thousands of companies from 1962 through March 2018 and includes delisted firms, making it useful for historical research that needs to reduce…

EquitiesUS marketsBacktesting
Machine Learning for Trading

This document explains how to measure returns around events such as signal triggers, earnings announcements, or macro releases. Its worked example uses momentum breakouts in liquid ETFs. For each event, a market model fitted to a pre-event estimation window…

EquitiesEvent-drivenMomentumBreakout
Machine Learning for Trading

This notebook presents an unconditional Sig-Wasserstein GAN for generating financial time series. It replaces a learned real-versus-generated discriminator with a distance based on expected path signatures, mathematical summaries of a path’s sequential…

Machine learningStatisticsEquitiesVolatility
Machine Learning for Trading

This notebook uses daily ETF returns to explain how GARCH models capture volatility clustering and turn it into a session-by-session feature. It first uses visual diagnostics and an ARCH-LM test to assess whether squared returns depend on their own lags. A…

VolatilityStatisticsRisk managementEquities
Machine Learning for Trading

This notebook explains how to rebuild a single-symbol NASDAQ limit order book from message-by-order data. It processes adds, executions, cancellations, deletes, and replacements while maintaining the remaining size of each live order. Replacements require…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This source module provides loaders for U.S. equity prices, index data, options, market microstructure, fundamentals, and institutional holdings. Its most substantive methodological detail concerns resampling intraday trade data: open, high, low, close, and…

EquitiesMarket microstructureExecutionUS markets
Machine Learning for Trading

This notebook demonstrates a shared OHLCV interface across Yahoo Finance, a long-history U.S. equity archive, and FRED macroeconomic series. It builds an ETF universe for a later rotation case study, shows how to combine historical and current sources, and…

Multi-assetEquitiesUS marketsExecution
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 compares ordinary least squares with Ridge, LASSO, and Elastic Net for predicting forward returns across an ETF universe. All models use the same walk-forward folds, with a purge gap matched to the label horizon, so differences can be…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This chapter outlines how to build time-consistent fundamentals and alternative-data research across equities, macroeconomic series, futures, crypto, and prediction markets. Its central methods are bitemporal storage and as-of queries, source-aware…

BacktestingStatisticsMachine learningOn-chain data
Machine Learning for Trading

This notebook reprices leading ETF allocation configurations across two cost grids while holding predictions, concentration, and allocation rules fixed. It compares the case study's per-share commission and half-spread model, which reflects how ETF trading…

EquitiesExecutionBacktestingPortfolio construction
Machine Learning for Trading

This notebook uses principal component analysis on a liquid subset of US stocks to build gross-normalized eigenportfolios and study their role as latent risk factors. It examines explained variance, interprets components through sector ETF correlations,…

EquitiesFactor investingStatisticsRisk management
Machine Learning for Trading

This notebook compares linear models for predicting ETF returns from overlapping price-derived features. Since multiple return horizons and indicator families can encode similar information, ordinary least squares may assign unstable opposing coefficients to…

EquitiesMulti-assetMachine learningStatistics
Machine Learning for Trading

This configuration describes monthly long-short US equity portfolios ranked on firm characteristics. It specifies a complete-case universe with 46 characteristics, month-end decisions, next-open execution, equal weighting within the long and short legs, and…

EquitiesFactor investingMomentumBacktesting
Machine Learning for Trading

This guide maps causal questions to Python libraries and clarifies the distinction between estimating effects under an assumed causal structure and discovering possible structures from data. It introduces double machine learning for adjusted treatment…

Machine learningStatisticsEquitiesCrypto
Machine Learning for Trading

This framework demonstrates data-quality checks on daily US equity OHLCV data. Structural validation tests price relationships, positive prices, nonnegative volume, missing values, duplicate dates, chronological order, stale prices, and extreme returns. The…

EquitiesStatisticsRisk managementUS markets
Machine Learning for Trading

This notebook introduces a stochastic discount factor model for pricing a cross-section of ETFs. Instead of separately estimating fund exposures and factor returns, it trains networks to find a common discount-factor series whose covariation with fund…

Machine learningFactor investingStatisticsEquities
Machine Learning for Trading

This notebook reconstructs the prevailing best bid and offer for each AAPL trade during a single March 2020 session, then applies the Lee–Ready method to infer whether buyers or sellers initiated trades. It interleaves quote and trade events in timestamp…

EquitiesMarket microstructureExecutionStatistics
Machine Learning for Trading

This notebook screens financial and model-derived features for their ability to rank ETFs by subsequent returns. It calculates a date-by-date information coefficient by comparing each feature’s cross-sectional ranks with forward-return ranks, then examines…

EquitiesStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook examines whether SHAP feature attributions are stable enough to support model pruning, risk decisions, or reporting. Using an ETF prediction task, it first searches for test samples whose predictions are close while their SHAP profiles differ.…

Machine learningStatisticsEquities
Machine Learning for Trading

This configuration describes a daily, long-short US equity strategy that ranks a broad stock universe by model predictions, buys the top decile, and shorts the bottom decile with equal weights within each group. It specifies next-session open execution,…

EquitiesUS marketsPortfolio constructionExecution
Machine Learning for Trading

This data utility supports work with the Chen, Pelger, and Zhu asset-pricing dataset, which includes stock returns, firm characteristics, macroeconomic series, and pre-split characteristic tensors. Its conversion method builds Parquet files from the…

EquitiesFactor investingMachine learningStatistics