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

1,124 documents

Machine Learning for Trading

This notebook introduces NLinear as a simple sequence-model baseline for predicting returns across US equities. Each example uses a window of 60 consecutive sessions for one stock, with features arranged in time order. For each feature, the model subtracts…

EquitiesUS marketsMachine learningBacktesting
Machine Learning for Trading

This notebook uses maximum favorable and adverse excursion analysis to inform triple-barrier widths from observed price paths. For a long entry at a bar’s close, it measures the best high and worst low over the following holding window; short positions…

Risk managementVolatilityBacktesting
Machine Learning for Trading

This notebook applies pretrained FinBERT to financial headlines from FinMarBa and examines why its accuracy is far below figures reported for its Financial PhraseBank evaluation. The central diagnostic is label provenance: PhraseBank labels reflect…

Machine learningSentimentStatistics
Machine Learning for Trading

This notebook evaluates NLinear, a minimal sequence model that subtracts the last observed level from each lookback window and maps the remaining values to a forecast. Its simplicity makes it a useful benchmark for more complex sequence architectures. The…

Machine learningStatisticsBacktesting
Machine Learning for Trading

The document describes a walk-forward study of TabM neural networks predicting monthly returns from firm characteristics. Because the shared training runner fixes the objective to squared error for regression and cross-entropy for classification, the…

EquitiesMachine learningStatisticsBacktesting
Machine Learning for Trading

The document presents a workflow connecting standardized market-data loaders, a registry of prebuilt features, and signal diagnostics. Feature computation can be specified by names, parameter dictionaries, or YAML, supporting repeatable pipelines and…

Technical indicatorsMachine learningStatisticsEquities
Machine Learning for Trading

The document explains how four market-impact models estimate the adverse per-share price move associated with an order: no impact, linear impact, square-root impact, and a configurable power law. It clarifies the sign convention, the roles of participation,…

ExecutionMarket microstructureBacktestingRisk management
Machine Learning for Trading

The document turns a cross-asset momentum hypothesis into a monthly exploratory test using a 100-ETF universe. It constructs adjusted month-end prices, measures 12-to-1-month momentum, then ranks eligible ETFs into five equal-weight groups and compares their…

Multi-assetMomentumTrend followingStatistics
Machine Learning for Trading

This notebook presents a family-level view of five latent-factor approaches applied to an equity option analytics case study. PCA estimates common movements directly from the return panel; IPCA maps characteristics to exposures linearly; a conditional…

OptionsMachine learningFactor investingStatistics
Machine Learning for Trading

This notebook examines why two backtesting engines can produce different results from identical signals. It holds the strategy and tradable universe fixed, makes portfolio weights deterministic when predictions tie, and exposes execution settings such as…

BacktestingExecutionPosition sizingRisk management
Machine Learning for Trading

This chapter treats a backtest as an attempt to falsify a strategy through explicit assumptions about signal timing, execution, rebalancing, sizing, costs, constraints, and benchmarks. It compares vectorized and event-driven simulation by their treatment of…

BacktestingExecutionRisk managementStatistics
Machine Learning for Trading

This source describes safeguards for reconstructing a model request from its immutable training specification and validating the resulting run. It checks that the request uses a supported identity version, canonical execution tier, matching model family and…

Machine learningBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook presents instrumented principal component analysis as a model of cross-sectional returns. Instead of assigning each firm’s characteristics direct return weights, IPCA estimates a shared linear map from characteristics to factor exposures,…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

The notebook explains how to read Kalshi’s binary Federal Reserve rate contracts as probabilities and how to turn a ladder of rate thresholds into an implied distribution. It stresses that the feed contains YES bids, so prices are lower bounds affected by…

FuturesStatisticsMarket microstructureTechnical indicators
Machine Learning for Trading

This notebook compares four neural network designs on the same task: predicting the next daily return from a window of past returns, pooled across eight exchange-traded funds. It describes how a dense network, a one-dimensional convolution, an LSTM, and a…

Machine learningBacktestingEquitiesStatistics
Machine Learning for Trading

This feasibility analysis checks whether the data and assumptions can support a weekly strategy that ranks S&P 500 stocks by at-the-money implied volatility and buys the leading shares. Options supply the signal, but positions are held in equities. The…

EquitiesOptionsVolatilityRisk management
Machine Learning for Trading

This notebook evaluates sequence models for ranking S&P 500 stocks using windows of their option-surface and price histories. It pairs a normalized linear model, which has no recurrent memory, with an LSTM whose gates carry information through time. The…

Machine learningEquitiesOptionsBacktesting
Machine Learning for Trading

This notebook explores an economic data panel built from Federal Reserve Economic Data series. It establishes that the shipped panel uses calendar dates, including weekends and holidays, and shows how accompanying metadata identifies each series’ meaning,…

Fixed incomeVolatilityStatisticsUS markets
Machine Learning for Trading

This notebook explains why ordinary t-tests can overstate the strength of an information coefficient (IC) when daily IC observations are dependent. It constructs a momentum signal on ETF data, examines the IC autocorrelation, and introduces Newey–West…

StatisticsBacktestingMomentum
Machine Learning for Trading

This notebook demonstrates a unified OHLCV interface across Yahoo Finance, WikiPrices, and FRED, then uses the sources for current ETF data, long-history equities, and macroeconomic series. It outlines a priority-ordered fallback approach for acquisition and…

EquitiesMulti-assetMarket microstructureBacktesting
Machine Learning for Trading

This notebook fits a long short-term memory network to NASDAQ-100 microstructure features to predict forward returns over several minute-scale horizons. Unlike a flattened linear model, an LSTM processes each observation in sequence and learns how much past…

Machine learningMarket microstructureEquitiesBacktesting
Machine Learning for Trading

This chapter explains how to evaluate financial machine-learning models while respecting the information available at each decision time. It distinguishes training, validation, and a final holdout, and explains why randomly shuffled k-fold validation lets…

Machine learningBacktestingStatisticsRisk management
Machine Learning for Trading

This notebook queries registries for multiple trading case studies and produces cross-dataset tables for signal, allocation, cost, and risk comparisons. It reports diagnostics on the validation-ranked configuration cluster, including the top-to-tenth Sharpe…

BacktestingStatisticsMulti-assetRisk management
Machine Learning for Trading

This capstone notebook compares equal weight, inverse volatility, mean-variance optimization, and hierarchical risk parity using a common signal on a diversified ETF universe. A rolling Ridge model uses momentum, moving-average distance, and volatility…

Portfolio constructionBacktestingEquitiesExecution