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 module defines a monthly ETF allocation baseline using a risk-adjusted momentum score: trailing cumulative return divided by annualized realized volatility. It selects the highest-ranked assets when the 10-year minus 2-year yield-curve slope exceeds a…

EquitiesMulti-assetMomentumVolatility
Machine Learning for Trading

This document explains a run-log system for recording model training, predictions, causal estimates, and backtests across trading case studies. It describes how configurations flow from case-study settings through training menus and model presets, then…

BacktestingMachine learningStatisticsPortfolio construction
Machine Learning for Trading

This configuration specifies a long-short strategy research workflow for crypto perpetual futures. It defines a 19-asset volume-selected universe, decisions aligned to eight-hour funding settlements, and execution at the funding timestamp. The primary target…

CryptoPerpetual futuresCarryMean reversion
Machine Learning for Trading

This notebook evaluates 57 accounting and price-based characteristics as individual predictors of next-month US stock returns. It calculates monthly cross-sectional rank correlations, averages them over time, and adjusts uncertainty for serial dependence and…

EquitiesFactor investingStatisticsRisk management
Machine Learning for Trading

This chapter presents a framework for turning a trading idea into a documented feature specification. It asks researchers to align feature horizons with the intended decision, state a driver hypothesis, and distinguish predictive signals from contextual…

Technical indicatorsMachine learningStatisticsBacktesting
Machine Learning for Trading

This guide distinguishes causal effect estimation from causal structure discovery and maps common research questions to suitable Python libraries. EconML and DoWhy estimate effects when the adjustment structure is known or explicitly specified; Tigramite and…

Machine learningStatisticsBacktesting
Machine Learning for Trading

This overview consolidates configuration data from nine trading case studies spanning equities, crypto, foreign exchange, futures, options, and multi-asset portfolios. It compares each study’s universe, data frequency, decision cadence, cost model, and…

Multi-assetBacktestingRisk managementExecution
Machine Learning for Trading

This notebook presents a deterministic framework for checking whether backtest and live trading pipelines behave consistently. It compares the stages that turn price bars into decisions: feature calculations, predictions, signals, and order sizes. A fixed…

BacktestingExecutionMachine learningStatistics
Machine Learning for Trading

This notebook trains a reinforcement learning agent to schedule a fixed sell order across hourly bars from a crypto perpetual futures market. Its state includes lagged returns, volatility, prior-hour volume, the perpetual premium to spot, and time until…

CryptoPerpetual futuresExecutionMachine learning
Machine Learning for Trading

This notebook aggregates linear-model results, including OLS, Ridge, Lasso, and ElasticNet, across nine case studies. It compares each study’s strongest complete configuration on its primary label, then examines regularization, fold-level information…

Machine learningStatisticsBacktestingFactor investing
Machine Learning for Trading

This case study evaluates TabM, a parameter-efficient neural ensemble, on the same point-in-time CME futures feature rows and walk-forward folds used by other model families. It motivates TabM as a way to average across model variation while sharing most…

FuturesMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook presents a workflow for asking whether six-month skip-recent momentum affects 21-day forward returns and whether the effect changes with market volatility. It estimates effects on training data using double machine learning, with volatility and…

EquitiesMomentumMachine learningStatistics
Machine Learning for Trading

This case study evaluates short at-the-money straddles on S&P 500 constituents, entered weekly and held until expiry with a daily delta hedge. Its main methodological choice is to model hold-to-maturity returns: the option position incurs an entry spread but…

OptionsVolatilityBacktestingExecution
Machine Learning for Trading

This notebook compares two pretrained time-series foundation models, Chronos and TinyTimeMixer, with an LSTM and a penalized linear baseline on an ETF panel. Each model receives a univariate historical context; the pretrained models forecast that input…

Machine learningEquitiesMomentumBacktesting
Machine Learning for Trading

This chapter presents a framework for evaluating causal claims in quantitative trading research. It starts with clear definitions of treatment, outcome, estimand, counterfactual, and adjustment set, then matches research questions to methods: Double Machine…

Machine learningStatisticsBacktestingFactor investing
Machine Learning for Trading

This notebook fits linear models to NASDAQ-100 microstructure features observed at one-minute intervals to predict returns at several forward horizons. Its purpose is to establish a simple baseline before more expressive models. Because spread and imbalance…

EquitiesMachine learningStatisticsTechnical indicators
Machine Learning for Trading

This notebook describes how to evaluate a previously selected FX strategy on holdout predictions. It reuses the selected configuration’s registered backtest specification, keeping the signal, allocation, risk controls, rebalance rule, costs, and account…

ForexBacktestingRisk managementPosition sizing
Machine Learning for Trading

This document describes a daily US equity dataset covering roughly 3,200 companies from 1962 through March 2018. It includes delisted issuers, making it useful for historical research where excluding failed or delisted firms could distort results. The data…

EquitiesUS marketsBacktesting
Machine Learning for Trading

This feature evaluation screens financial and model-derived candidates against forward returns for CME futures. For each feature, it checks data coverage and staleness, measures daily cross-sectional rank correlation between feature values and forward…

FuturesStatisticsMachine learningBacktesting
Machine Learning for Trading

This notebook evaluates how transaction-cost assumptions affect the validation Sharpe of one selected S&P 500 equity and options allocation. It carries forward the configuration chosen through a frozen candidate set when available, then reruns the same…

EquitiesOptionsExecutionBacktesting
Machine Learning for Trading

This notebook compares implementations of a univariate SPY price forecast across raw PyTorch, sktime, and Darts. Its main purpose is to assess practical effort: code length, interface requirements, installation success, and combined fit-and-predict time. A…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

This chapter argues that durable trading research depends on a disciplined process that can adapt to changing markets, noisy evidence, and implementation costs. It introduces distinctions among structural breaks, regimes, data drift, and concept drift, then…

Machine learningBacktestingRisk managementStatistics
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 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