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 notebook describes producing predictions for a US equities case study’s holdout window after selecting a configuration on validation folds. It resolves the selected configuration, preserves its checkpoint choice, and constructs a new training…

EquitiesMachine learningBacktestingRisk management
Machine Learning for Trading

This notebook explains how hidden Markov models infer unobserved market states from returns and recent volatility. It first establishes simple comparison rules: a volatility index threshold for stress and price relative to a long moving average for trend. A…

Machine learningStatisticsVolatilityTechnical indicators
Machine Learning for Trading

The notebook assembles end-to-end pipelines for daily equities and hourly crypto perpetual futures, covering acquisition, validation, source labeling, and storage. Its equity example joins historical WikiPrices data with a more recent Yahoo feed. Since the…

EquitiesCryptoFuturesMarket microstructure
Machine Learning for Trading

This notebook presents a framework for checking whether a momentum signal’s apparent quality survives reasonable research choices. Using real ETF data before the designated holdout period, it varies one lookback parameter at a time and measures…

EquitiesMomentumStatisticsBacktesting
Machine Learning for Trading

The notebook contrasts two ways to divide a large equity order into child orders over a trading session. TWAP sends roughly equal quantities at each interval and needs no market forecast. VWAP allocates shares according to an estimated intraday volume…

EquitiesExecutionMarket microstructureBacktesting
Machine Learning for Trading

The notebook explains how to compare prediction models for S&P 500 options without allowing incomplete or mismatched evaluation samples to distort the results. It identifies each model by family, configuration, and checkpoint, checks that predictions meet…

OptionsMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook builds uncertainty intervals for ETF forward returns using Ridge regression and three conformal methods: split conformal prediction, conformalized quantile regression, and adaptive conformal inference. It evaluates them with walk-forward folds…

EquitiesMachine learningStatisticsRisk management
Machine Learning for Trading

This notebook uses double machine learning to estimate whether a perpetual-futures premium z-score is associated with the following eight-hour return after adjustment for six pre-treatment controls. It compares effects across high- and low-volatility regimes…

CryptoPerpetual futuresMachine learningStatistics
Machine Learning for Trading

This notebook explains a conditional autoencoder that models stock returns as characteristic-dependent factor loadings multiplied by latent factors. It first estimates characteristic-managed portfolio returns with a joint cross-sectional least-squares fit,…

EquitiesFactor investingMachine learningPortfolio construction
Machine Learning for Trading

This dataset guide describes a collection of continuous CME futures contracts spanning equity indexes, rates, energy, metals, currencies, agriculture, and livestock. It explains the hourly source data and derived daily frequency, multiple contract tenors,…

FuturesMulti-assetCommoditiesBacktesting
Machine Learning for Trading

This notebook studies how allocation rules affect ETF strategies after a model has already ranked assets. It holds the prediction sets and rebalance calendar fixed, selects the same top-k basket for each comparison, and varies the weights assigned within…

EquitiesPortfolio constructionPosition sizingRisk management
Machine Learning for Trading

This notebook compares linear models on ETF features built from overlapping return windows and related momentum, volatility, and oscillator measures. Such predictors are collinear, making ordinary least squares coefficients unstable. The experiment fits…

Multi-assetMachine learningStatisticsBacktesting
Machine Learning for Trading

This notebook tests whether portfolio construction can rescue a cost-defeated, every-bar NASDAQ-100 strategy. It selects leading baseline predictions using the declared selection universe, then runs the allocation comparisons on the full universe. The sweep…

EquitiesPortfolio constructionPosition sizingExecution
Machine Learning for Trading

This notebook takes leading validation prediction configurations from an equal-weight signal-stage baseline and tests alternative allocation methods on the same predictions. It compares score-based and conformal weighting with inverse volatility, risk…

EquitiesPortfolio constructionPosition sizingBacktesting
Machine Learning for Trading

This notebook evaluates how registered ETF prediction sets perform when converted into portfolios. It crosses each validation prediction set with declared entry schemes, such as different top-k holdings, while keeping the trading calendar, rebalance cadence,…

EquitiesBacktestingPortfolio constructionRisk management
Machine Learning for Trading

Fractional differencing applies a non-integer power of the lag difference operator to log prices. Its binomial weights decay across past observations, so the result combines price changes with some surviving level information. The fractional order controls…

StatisticsTechnical indicatorsMachine learning
Machine Learning for Trading

This chapter describes a path from research to live execution built around strategy logic that can run in backtest, paper, and live settings. It covers broker and platform integrations, deployment loops, data and feature parity checks, order lifecycle…

ExecutionRisk managementBacktestingMarket microstructure
Machine Learning for Trading

This notebook builds features for a cross-sectional hypothesis: unusually costly long positioning in perpetual futures may precede relative weakness as crowded trades unwind. It transforms funding rates and premium-index data into levels, historical…

CryptoPerpetual futuresCarryBacktesting
Machine Learning for Trading

This chapter maps financial data across market, fundamental, and alternative sources, then compares how asset classes shape what prices, liquidity, and observations mean. It emphasizes that timestamps, adjustments, identifiers, and revisions are part of a…

Multi-assetStatisticsBacktestingRisk management
Machine Learning for Trading

This notebook describes an LSTM model that predicts returns from ordered windows of stock features in a US equities panel. Unlike a flat tabular model, the LSTM processes sessions sequentially and carries a hidden state through each window. Learned gates…

Machine learningEquitiesUS marketsBacktesting
Machine Learning for Trading

This notebook presents TimeGAN, a recurrent generative adversarial model for producing synthetic financial sequences. Its five modules learn an embedding and reconstruction, predict successive latent states, generate sequences from noise, and distinguish…

Machine learningEquitiesStatisticsBacktesting
Machine Learning for Trading

This document explains a shared method for generating walk-forward validation splits from case study evaluation settings. It delegates fold construction to a calendar-aware splitter, works from unique timestamps so panel rows stay aligned, and steps backward…

BacktestingStatisticsRisk management
Machine Learning for Trading

This notebook implements a long-only RSI mean-reversion rule for BTC/USDT perpetual bars using an event-driven backtesting engine. It aggregates intraday observations into UTC daily bars, calculates a simple rolling gain-and-loss RSI, enters when the…

CryptoPerpetual futuresMean reversionTechnical indicators
Machine Learning for Trading

This notebook applies two sequential detectors to real validation prediction errors from two US equities linear-model configurations over a calendar year. A two-window mean-shift detector looks for changes in error magnitude, while a bad-day frequency…

Machine learningStatisticsRisk managementEquities