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

742 documents

Machine Learning for Trading

This notebook measures how transaction costs affect a fixed CME futures strategy configuration. It selects the reported configuration through a shared validation-stage process, carries its risk overlay into the cost runs, and applies a declared grid of…

FuturesCommoditiesBacktestingExecution
Machine Learning for Trading

This notebook compares ways to hedge a short European call when rebalancing is discrete and trades incur proportional costs. It defines self-financing terminal P&L, then trains a neural hedger to minimize expected shortfall under Heston simulated prices. The…

OptionsMachine learningRisk managementExecution
Machine Learning for Trading

This notebook compares single-objective hyperparameter tuning with a multiobjective search for LightGBM prediction models. The baseline maximizes validation information coefficient (IC). The NSGA-II search instead maximizes IC while minimizing normalized…

Machine learningStatisticsBacktestingExecution
Machine Learning for Trading

This chapter synthesizes nine case studies that take machine-learning signals through portfolio construction, trading costs, risk overlays, and frozen holdout evaluation. It treats each case study’s progression as the unit of analysis instead of ranking…

Machine learningEquitiesBacktestingPortfolio construction
Machine Learning for Trading

This assessment traces a single US equities strategy from a frozen validation backtest set to its holdout evaluation. It applies a deterministic rule: choose the candidate with the highest validation Sharpe, breaking ties by backtest hash. Registry records…

EquitiesBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook runs a selected NASDAQ-100 microstructure configuration on its registered holdout predictions. The model, allocator, concentration, rebalance schedule, risk overlay, and cost assumptions are inherited from earlier work and applied unchanged;…

EquitiesUS marketsBacktestingRisk management
Machine Learning for Trading

This notebook compares ways to size positions in a US equities panel while holding the model, checkpoint, rebalance dates, and selected stocks fixed. Prediction-based methods scale capital by forecast magnitude or interval uncertainty; inverse volatility and…

EquitiesUS marketsPortfolio constructionPosition sizing
Machine Learning for Trading

This notebook explains how to select one strategy from a fixed set of US equity backtests and assess the resulting strategy on a separate holdout period. It validates that candidates share the required data and protocol identities, then ranks them by…

EquitiesBacktestingRisk managementStatistics
Machine Learning for Trading

This notebook compares three linear time-series models, a Transformer encoder, and parameter-free forecasts on daily SPY returns. The linear approaches map a historical window to a multi-day forecast, with variants that separate a smooth component from its…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook examines whether gradient-boosted trees can find nonlinear relationships in NASDAQ-100 microstructure features that a linear model may miss. It focuses on the possibility that order-flow imbalance predicts returns differently depending on the…

EquitiesMachine learningMarket microstructureStatistics
Machine Learning for Trading

This notebook explains an operator-style research agent for iterating on quantitative case studies. Instead of limiting the model to predefined forecasting actions, it gives it general tools for files, shell commands, registry queries, and data inspection.…

Machine learningBacktestingStatisticsRisk management
Machine Learning for Trading

This feasibility analysis checks whether a daily long-short equity ranking strategy can be researched with the available US stock panel. It examines point-in-time universe construction using price and trailing turnover thresholds, compares proportional…

EquitiesUS marketsBacktestingExecution
Machine Learning for Trading

This notebook refits the configuration selected by earlier validation stages using pre-2021 history, then publishes predictions for a 2021 holdout. It retrieves the chosen configuration from a recorded candidate set or applies the same ranking rule when that…

EquitiesOptionsMachine learningBacktesting
Machine Learning for Trading

This notebook audits an annual-report corpus before it is indexed for financial research. It measures the delay between a fiscal period end and the public filing date, showing why point-in-time applications must use the publication date. It also identifies…

EquitiesMachine learningExecutionBacktesting
Machine Learning for Trading

This notebook screens financial and model-based features for their relationship with the next eight-hour return of crypto perpetual contracts. For each settlement, it computes cross-sectional Spearman correlations across eligible contracts, then summarizes…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This notebook aggregates existing walk-forward model results across financial case studies to compare LSTM, NLinear, TSMixer, TCN, and PatchTST with linear, gradient-boosted, and tabular neural-network baselines. Its main measure is average daily Spearman…

Machine learningStatisticsBacktesting
Machine Learning for Trading

This shared analysis module describes ways to estimate trading frictions across asset classes. It includes high-low and return-autocovariance estimators for bid-ask spreads, rolling average volume measures, and regression approaches for calibrating…

ExecutionMarket microstructureRisk managementBacktesting
Machine Learning for Trading

This notebook examines why a model’s information coefficient does not determine the Sharpe ratio of a strategy built from its predictions. Across a set of case studies, it compares signal rankings with backtest outcomes and considers how entry rules,…

BacktestingMachine learningStatisticsRisk management
Machine Learning for Trading

This notebook implements a daily educational adaptation of an adversarial stochastic discount factor model. A portfolio-weight network constructs a factor from next-day excess returns using characteristics and market state available at the prior close. An…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This analysis assesses whether selected trading signals appear reliable by comparing information coefficient (IC) evidence with the Sharpe ratios produced after predictions are converted into positions. It aggregates model-family results across asset…

Machine learningStatisticsBacktestingPortfolio construction
Machine Learning for Trading

This notebook aggregates previously run walk-forward results to compare LSTM, NLinear, TSMixer, TCN, and PatchTST across case studies, alongside linear, gradient-boosted, and TabM baselines. It reports average daily Spearman information coefficients with HAC…

Machine learningStatisticsBacktesting
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 exploratory notebook profiles hourly CME futures data across products and asset classes, using the E-mini S&P 500 as an example. It explains the hierarchy from product to expiring contract to continuous series, summarizes coverage windows, and checks…

FuturesStatisticsBacktestingMarket microstructure
Machine Learning for Trading

This notebook compares portfolio weighting rules for selling straddles on selected S&P 500 symbols. It holds the chosen symbols constant and varies allocation, using equal weight as the baseline. The methods include weighting by predicted score, inverse…

OptionsPortfolio constructionPosition sizingBacktesting