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 evaluation notebook screens financial and model-based features for their relationship to the next eight-hour return of crypto perpetual futures. It builds the evaluation sample from walk-forward validation windows, keeps the final holdout outside the…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This NASDAQ-100 case study investigates whether 15-minute microstructure signals can survive trading costs. The workflow evaluates order flow, quote staleness, and relative spreads, then compares a full-universe strategy with one restricted to…

EquitiesUS marketsMarket microstructureExecution
Machine Learning for Trading

This notebook checks whether a daily US equity ranking strategy has enough usable data for a fair evaluation before fitting any model. It explains how to form a point-in-time universe with historical constituents, using printed prices and prior-session…

EquitiesUS marketsBacktestingExecution
Machine Learning for Trading

This notebook studies how regularization affects a CME futures model built from correlated feature families, including carry, rolling Sharpe, momentum, and volatility measures. It compares Ridge, Lasso, and ElasticNet: Ridge shrinks coefficients while…

FuturesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook applies configured stop-loss, trailing-stop, and time-exit rules to the strongest validation-ranked signal or allocation strategy for each futures return horizon. Each rule is assessed on its own parent strategy, with parameters fixed in…

FuturesCarryMean reversionRisk management
Machine Learning for Trading

This notebook runs a previously selected US equities configuration on holdout predictions. The selected model, predictions, allocator, concentration, risk overlay, rebalance cadence, and transaction cost assumptions are inherited from earlier stages. Its…

EquitiesUS marketsBacktestingRisk management
Machine Learning for Trading

This notebook describes adapting Diffusion-TS to generate synthetic ETF return sequences. Its denoiser predicts the clean sequence as a sum of polynomial trend, Fourier seasonal, and residual components, while a combined time-domain and Fourier-domain loss…

Machine learningStatisticsVolatilityMulti-asset
Machine Learning for Trading

The chapter argues that repeatable research discipline is a more durable source of trading advantage than any individual strategy. It presents a workflow built around falsifiable hypotheses, out-of-sample evaluation, and corrections for multiple testing to…

Machine learningStatisticsRisk managementDeFi
Machine Learning for Trading

This document presents a cost sensitivity analysis for a fixed ETF momentum strategy. It holds the universe, weights, schedule, and simulator constant while rerunning the backtest over a range of per-leg fees. The resulting curve shows how Sharpe ratio and…

EquitiesMomentumBacktestingExecution
Machine Learning for Trading

The document explains why TabM is used to model perpetual funding panel data: its shared neural backbone combines all input features, while nonlinear layers can represent interactions. Unlike a tree that chooses one feature at each split, this design can use…

CryptoPerpetual futuresMachine learningBacktesting
Machine Learning for Trading

This notebook models institutional equity holdings from SEC 13F filings as a graph linking managers to securities, with sector relationships for aggregation. Its schema retains both the quarter-end report date and the later filing availability date: the…

EquitiesStatisticsMarket microstructure
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 notebook demonstrates how a broker wrapper can reject unsafe orders using order-size and position limits, order-rate caps, asset restrictions, and a persistent kill switch. A synthetic broker makes the decisions observable: attempted orders are either…

Risk managementPosition sizingExecution
Machine Learning for Trading

This analysis estimates whether skip-recent momentum is associated with a causal change in ETFs’ forward returns, rather than asking how well momentum predicts returns. Double machine learning models the outcome and the treatment using declared confounders,…

Machine learningStatisticsMomentumBacktesting
Machine Learning for Trading

This benchmark-generation method creates an equal-weighted daily return series from the declared assets in a case study. It first takes each symbol’s last close for each session, then calculates close-to-close returns and averages the available returns…

BacktestingPortfolio constructionStatisticsRisk management
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 analysis profiles a fixed universe of 100 ETFs across nine asset groups. It checks coverage by fund and year, confirms that the price panel matches the group configuration, reviews nulls and OHLC ordering, and compares trading volume across groups. It…

Multi-assetStatisticsRisk managementBacktesting
Machine Learning for Trading

This notebook studies gradient-boosted models for forecasting returns and direction in crypto perpetuals. Its grid varies tree capacity and loss function, including squared-error, absolute-error, and Huber objectives, while scoring models at multiple points…

CryptoPerpetual futuresMachine learningMomentum
Machine Learning for Trading

This document presents the PatchTST neural-network backbone for forecasting multivariate time series. It divides each input series into overlapping patches, projects each patch into a learned feature space, adds positional encodings, and processes the…

Machine learningStatisticsBacktesting
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 estimates whether the premium z-score of a crypto perpetual affects subsequent eight-hour returns when three declared drivers—price volatility, funding rate, and average premium deviation—are held fixed. Because treatment is continuous, the…

CryptoPerpetual futuresMachine learningStatistics
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