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 uses correlation-based principal component analysis on sector ETF returns to describe common risk factors and sector rotation. Standardizing returns gives each sector unit variance before decomposition, reducing the chance that a more volatile…

EquitiesFactor investingStatisticsPortfolio construction
Machine Learning for Trading

This notebook explains a principal-component baseline for forecasting CME futures returns. PCA is fitted to the training fold’s product-return panel, so its components represent co-movement directions across contracts rather than compressed carry, momentum,…

FuturesFactor investingStatisticsBacktesting
Machine Learning for Trading

This notebook describes a supervised autoencoder that compresses ETF feature rows into a low-dimensional representation and predicts forward returns directly from that representation. Unlike a conditional autoencoder, it does not assume that returns arise…

Multi-assetMachine learningFactor investingStatistics
Machine Learning for Trading

This notebook fits ridge, lasso and elastic-net models to a broad set of established US stock characteristics, including value, profitability, investment, momentum, size, risk and liquidity measures. It evaluates raw monthly returns, a cross-sectionally…

EquitiesFactor investingMomentumMachine learning
Machine Learning for Trading

This analysis applies correlation-based principal component analysis to returns from sector exchange-traded funds. Standardizing returns before decomposition gives each sector unit variance, so the leading components describe co-movement rather than being…

EquitiesFactor investingStatisticsPortfolio construction
Machine Learning for Trading

This document presents a supervised autoencoder as a control for conditional latent-factor models. It maps firm characteristics directly to forward returns while compressing 57 inputs through a narrow bottleneck. Comparing it with a conditional autoencoder…

EquitiesMachine learningFactor investingStatistics
Machine Learning for Trading

This guide describes public factor return datasets from the Ken French Data Library and AQR, including market, size, value, profitability, investment, momentum, quality, and low-beta factors. It explains how to download and load monthly or daily…

Factor investingStatisticsRisk management
Machine Learning for Trading

This study tests whether the poor fit of a linear model to monthly US stock returns comes from its squared-error objective. It holds the unwinsorized forward-return target, features, and walk-forward folds fixed while comparing boosted tree models trained…

EquitiesUS marketsMachine learningStatistics
Machine Learning for Trading

This document demonstrates Instrumented PCA, in which asset factor loadings are modeled as linear functions of characteristics observed before the return. It uses alternating least squares to estimate the characteristic-to-loading map and realized factors,…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This document describes a reproducible US equities benchmark drawn from the Chen, Pelger, and Zhu asset-pricing replication archive. It contains roughly 1.2 million monthly stock observations from 1967 through 2016, with 46 firm characteristics,…

EquitiesFactor investingMachine learningUS markets
Machine Learning for Trading

This notebook adapts an adversarial stochastic discount factor design to daily U.S. equities. A portfolio-weight network forms a factor from next-day excess returns, while a competing moment network helps train the pricing kernel; a separate beta network…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This notebook compares a Random Forest with XGBoost, LightGBM, and CatBoost on a panel of anonymized firm characteristics and returns. The dataset supplies temporal training, validation, and test splits. Models are evaluated using Spearman rank information…

EquitiesMachine learningStatisticsFactor investing
Machine Learning for Trading

This notebook presents a conditional autoencoder that preserves the structure of an instrumented latent factor model while replacing the linear map from firm characteristics to factor exposures with a neural network. Monthly returns are represented as…

EquitiesMachine learningFactor investingStatistics
Machine Learning for Trading

This notebook builds a monthly model matrix for a US firm-characteristics study from a released panel whose characteristics have already been ranked across firms. It adds composites and interactions using values in the same firm-month row, without fitting…

EquitiesFactor investingPortfolio constructionBacktesting
Machine Learning for Trading

This notebook examines linear-model regularization for predicting returns across currency pairs. It distinguishes collinearity among input features from dependence among the assets: currency pairs share underlying currencies, so their returns and rankings…

ForexMachine learningStatisticsFactor investing
Machine Learning for Trading

This notebook studies a supervised autoencoder for predicting forward returns from firm characteristics. It retains a narrow neural-network bottleneck but removes the conditional-factor interpretation and pricing restriction used by related models. The…

EquitiesMachine learningFactor investingBacktesting
Machine Learning for Trading

This feasibility analysis checks whether a monthly long-short strategy based on US firm characteristics can be evaluated with the available panel. It verifies that the measures are encoded as ranks, describes how long firms remain observable, counts firms at…

EquitiesFactor investingBacktestingRisk management
Machine Learning for Trading

This notebook presents a pipeline for turning financial headlines into stock-level signals. It cleans and standardizes a news corpus, removes exact and prefix-matched duplicates within ticker-date groups, and uses sentence embeddings to represent headline…

EquitiesMachine learningSentimentFactor investing
Machine Learning for Trading

This notebook applies previously selected firm-characteristic predictions and a fixed portfolio configuration to a one-year holdout period. It makes no new choices about predictions, allocation, concentration, rebalancing, or transaction costs, preserving…

EquitiesFactor investingPosition sizingBacktesting
Machine Learning for Trading

This notebook explains instrumented principal component analysis (IPCA) for a changing US equities panel. Traditional PCA assigns each stock a fitted loading, which cannot naturally cover names absent from the training sample and stays fixed as a company's…

EquitiesFactor investingMachine learningStatistics
Machine Learning for Trading

This notebook synthesizes registered validation results for five latent-factor estimators—PCA, IPCA, CAE, SDF, and SAE—across nine case studies. It first reports which estimators have results in each panel, then identifies the highest mean daily Spearman…

Factor investingMachine learningStatisticsEquities
Machine Learning for Trading

This notebook applies principal component analysis to a panel of US stock returns to represent broad shared movements with a smaller set of factors. Each factor is a direction of common variation, and each stock’s loading describes its exposure to that…

EquitiesStatisticsMachine learningFactor investing
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

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