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

5,922 documents

QuantInsti blog

This introduction explains XGBoost as a gradient boosting method that combines sequential models, typically decision trees, with later learners aimed at correcting earlier errors. It outlines classification and regression, describes model components such as…

Machine learningEquitiesPortfolio constructionRisk management
QuantInsti blog

The article surveys how traders identify and control exposure to market and operational shocks. It discusses diversification, portfolio optimization, position sizing, hedging, stop-loss orders, and take-profit rules, with an opening recommendation for…

Risk managementPosition sizingPortfolio constructionBacktesting
QuantInsti blog

This guide outlines portfolio analysis as a way to assess absolute and benchmark-relative performance alongside risk. It introduces holding-period return, arithmetic mean, Sharpe ratio, alpha, tracking error, information ratio, and Sortino ratio, then…

Portfolio constructionRisk managementPosition sizingStatistics
QuantInsti blog

The document teaches how heatmaps can display financial data as colored cells, focusing on two uses: comparing single-day percentage price changes across stocks and viewing correlations among stock price changes. Its Seaborn workflow organizes stock symbols…

EquitiesStatisticsPortfolio construction
QuantInsti blog

The document presents the Sharpe ratio as excess investment return divided by return volatility, and explains how the measure supports comparisons of strategies and portfolios. It describes annualizing a ratio from periodic returns and gives a worked…

StatisticsRisk managementPortfolio constructionBacktesting
QuantInsti blog

This article compiles research papers, books, and other learning resources on reinforcement learning in finance, with expert recommendations attributed to Paul Bilokon. The cited applications include option hedging and dynamic replication, wealth management,…

Machine learningDerivatives pricingExecutionPortfolio construction
QuantInsti blog

The guide explains hierarchical clustering as an unsupervised method that builds nested groups and displays their relationships in a dendrogram. It contrasts clustering with supervised classification and compares hierarchical clustering with K-means: K-means…

Machine learningStatisticsEquitiesPairs trading
QuantInsti blog

This project describes a long-only portfolio that reallocates capital among a small basket of sector or asset ETFs and cash on a fixed weekly schedule. It compares classifier-based allocations with a rule-based momentum baseline. The baseline averages recent…

Multi-assetMachine learningMomentumPortfolio construction
QuantInsti blog

This article introduces a MATLAB toolbox for obtaining historical stock prices and developing algorithmic strategies. Its most substantive research concept is walk-forward analysis: repeat optimization on an in-sample window, then evaluate the selected setup…

BacktestingEquitiesPortfolio construction
QuantInsti blog

The document explains how quantitative value investing uses financial data and predefined rules to identify potentially undervalued stocks. It describes common measures including price-to-earnings, price-to-book, price-to-sales, price-to-cash-flow, return on…

EquitiesFactor investingPortfolio construction
QuantInsti blog

The document introduces risk parity as a portfolio allocation method that sets weights according to asset risk rather than equal capital or expected returns. Its basic procedure estimates each asset’s volatility, assigns larger weights to lower-volatility…

Portfolio constructionRisk managementStatisticsEquities
Hudson & Thames

This article explains Hierarchical Risk Parity (HRP) as an alternative to covariance-inversion methods such as the Critical Line Algorithm. It identifies estimation errors, unstable matrix inversion, computational burden, and the loss of meaningful asset…

Portfolio constructionRisk managementStatistics
Hudson & Thames

The article introduces Black-Litterman as a Bayesian approach that combines CAPM equilibrium returns with investor views to produce portfolio allocations. It motivates the method by describing common mean-variance optimization problems: sensitivity to…

Portfolio constructionStatisticsRisk management
Hudson & Thames

This article explains how minimum spanning trees (MSTs) represent relationships among assets using a connected graph with minimal total edge weight. It describes visualizing trees with industry colors and market-cap node sizes, and reviews measures such as…

EquitiesStatisticsRisk managementPortfolio construction
Hudson & Thames

This document reviews research practices for applying machine learning and quantitative methods to investing. It outlines common barriers to financial machine learning, including the interdisciplinary nature of the work, limited data, and markets shaped by…

Machine learningBacktestingStatisticsPortfolio construction
Hudson & Thames

The article explains Theory-Implied Correlation (TIC), a method for estimating portfolio correlations by combining observed correlations with an externally specified hierarchy of assets. It describes three stages: fit a hierarchical tree to empirical…

Portfolio constructionMachine learningStatisticsRisk management
Hudson & Thames

The document explains online portfolio strategies that find historical market windows resembling current conditions. CORN measures similarity with Pearson correlation rather than Euclidean distance and uses the resulting matches to guide portfolio weights.…

EquitiesPortfolio constructionMachine learningStatistics
Hudson & Thames

This overview compares online portfolio momentum approaches across six equity and market-index datasets. Exponential Gradient updates portfolio weights using recent relative performance, with a learning rate and regularization intended to limit abrupt…

MomentumTrend followingEquitiesPortfolio construction
Hudson & Thames

This introduction compares four portfolio selection benchmarks using a collection of 23 ETFs with closing prices from 2008 to 2016. Buy and Hold starts with fixed allocations and lets weights drift with asset prices; Best Stock selects the strongest asset…

Multi-assetPortfolio constructionBacktestingMean reversion
Hudson & Thames

This article explains how a Planar Maximally Filtered Graph (PMFG) represents similarities among assets while preserving more network structure than a Minimum Spanning Tree. It ranks nodes by a combination of graph centrality measures, then compares…

EquitiesPortfolio constructionRisk managementUS markets
Hudson & Thames

This article explains how to build vectorized equity curves while distinguishing long-only return calculations from long-short pair-trading P&L. For a single asset or a long-only portfolio with positive value, it recommends calculating portfolio returns and…

Pairs tradingBacktestingPortfolio constructionArbitrage
Hudson & Thames

The article surveys hedge ratio estimation methods, separating single-period approaches that assume independent, identically distributed returns from multi-period approaches that model changes over time. The static methods covered are ordinary least squares…

StatisticsPortfolio constructionRisk managementMean reversion
Systematic trading blog (Rob Carver)

This document outlines three futures trading rules built from skew and kurtosis: a standalone skew signal, skew conditioned on kurtosis, and kurtosis conditioned on skew. Signals are normalized by a robust volatility estimate and smoothed; conditioned…

FuturesStatisticsTechnical indicatorsPortfolio construction
MQL5 articles

The article extends an MQL5 portfolio dashboard with strategy-level drawdown tracking, threshold alerts, protective actions, trade exports, and an asynchronous AI review. Its heatmap calculation processes trades chronologically for each strategy, tracks…

Risk managementPortfolio constructionStatistics