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

4,194 documents

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
Strategy library

This algorithm example demonstrates a two-stage method for narrowing a stock universe. Its coarse filter ranks available stocks by daily dollar volume and passes the five highest-volume names onward. A fine filter then ranks those candidates by…

EquitiesFactor investingPortfolio constructionBacktesting
Strategy library

The document defines price-to-book as closing price divided by book value per share, with book value per share calculated from total assets less total liabilities, divided by common shares outstanding. It implements this measure as a pipeline factor using…

EquitiesFactor investingPortfolio constructionBacktesting
Strategy library

This example builds a daily stock universe from currently tradable Shanghai and Shenzhen listings, then intersects it with the CSI 300 constituents. It ranks the remaining stocks by market value and keeps the five smallest. The selection is a small…

EquitiesFactor investingPosition sizingChina markets
Strategy library

This document describes an AI-assisted workflow that turns natural-language crypto factor ideas into computed signals and validation reports. A language model interprets the idea, generates a factor function, and assigns signal direction; the system then…

CryptoFactor investingMachine learningStatistics
Strategy library

This US equity strategy builds an equal-weighted portfolio through successive screens. It starts with liquid NYSE stocks while excluding financial companies, ADRs, and REITs; selects firms with low enterprise-value-to-EBIT ratios; then favors stronger…

EquitiesFactor investingMomentumTrend following
Strategy library

This US equity strategy builds a machine learning feature set from fundamentals, quality measures, price and volume behavior, technical indicators, securities data, and market signals. Its target is the following week's return. Fundamental inputs are…

EquitiesUS marketsMachine learningFactor investing
Machine Learning for Trading

This notebook explains instrumented principal component analysis as a way to make latent-factor loadings depend on observable stock characteristics rather than assigning each stock a fixed loading. A shared mapping from characteristics to factor exposures…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This document introduces a family of firm-return models that assumes a small set of unobserved common factors explains much of the cross-section. Rather than predicting returns directly from characteristics, these models infer each firm's factor exposures…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

The notebook introduces a supervised autoencoder for equity factor modeling. Unlike unsupervised autoencoders that learn a bottleneck by reconstructing the cross-section, this model also includes forward returns in its training objective. The target…

EquitiesMachine learningFactor investingStatistics
Machine Learning for Trading

This notebook applies a neural stochastic discount-factor model to CME futures. In asset-pricing terms, a stochastic discount factor is a random variable whose product with each asset's return has the same expected value under no arbitrage. The model…

FuturesMachine learningFactor investingBacktesting
Machine Learning for Trading

This notebook presents a cross-case-study inventory of engineered financial features across nine asset classes. It counts features and name-based families from each available feature panel, compares feature-space sizes, and summarizes the strongest…

Multi-assetStatisticsFactor investing
Machine Learning for Trading

This case study evaluates monthly long-short decile strategies built from US firm characteristics, comparing linear models, gradient boosting, and latent-factor approaches under point-in-time accounting lags, walk-forward validation, and era-dependent…

EquitiesUS marketsFactor investingMachine learning
Machine Learning for Trading

This module coordinates walk-forward fitting and evaluation for several latent factor models, including principal components, instrumented principal components, and neural autoencoders. It prepares panel data and folds, invokes model-specific runners, and…

Factor investingMachine learningBacktesting
Machine Learning for Trading

This implementation describes a conditional autoencoder for asset pricing. A beta network maps each stock’s characteristics to latent factor loadings, while a linear factor network maps managed portfolio returns to factor returns. The model predicts a stock…

EquitiesFactor investingMachine learning
Machine Learning for Trading

This notebook explains how to build and inspect a quarterly equity fundamentals panel from SEC XBRL data. Each observation carries both the fiscal period it describes and the filing date when the information became public. That distinction is essential in…

EquitiesUS marketsFactor investingBacktesting
Machine Learning for Trading

This notebook explains how a conditional autoencoder extends an instrumented principal component model: a neural network maps stock characteristics to factor exposures, while the model retains the same exposure-times-factor-return structure. It fits the…

EquitiesFactor investingMachine learningBacktesting
Machine Learning for Trading

The document explains instrumented principal component analysis for modeling ETF returns. Unlike ordinary PCA, which assigns each fund fixed factor exposures, IPCA makes each fund’s exposures a shared linear function of its observable features. It estimates…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This notebook explains instrumented principal component analysis (IPCA) for an equity panel with option-surface features. Unlike ordinary PCA, which estimates each stock's exposures from its return history, IPCA models exposures as a shared linear function…

EquitiesOptionsFactor investingMachine learning
Machine Learning for Trading

This notebook uses principal component analysis on a liquid subset of US equities to extract latent factors and form long-short eigenportfolios. It explains how standardized PCA vectors are converted to raw-return weights and normalized by gross exposure,…

EquitiesFactor investingStatisticsRisk management
Machine Learning for Trading

This notebook presents principal component analysis as an unconditioned latent-factor baseline for forecasting stock returns in an option analytics study. PCA uses the historical return panel to estimate common movements and each stock’s exposure to them,…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This notebook evaluates a cross-sectional momentum factor using information coefficients, quantile returns, top-to-bottom spreads, and classification diagnostics. It introduces Spearman IC as the date-by-date rank correlation between a signal and subsequent…

MomentumFactor investingStatisticsBacktesting
Machine Learning for Trading

This notebook uses principal component analysis to represent the common movements in a broad US equities panel. PCA extracts directions that explain shared variation in returns; each stock’s loading measures its exposure to each direction. A prediction…

EquitiesUS marketsMachine learningStatistics