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

62 documents

Hudson & Thames

Vine copulas extend copula-based dependence modeling beyond pairs by decomposing a high-dimensional joint density into marginal densities and conditional bivariate copulas. The article explains how conditional probabilities support this decomposition and…

StatisticsArbitragePairs tradingRisk management
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
Hudson & Thames

The article draws on employee accounts and public descriptions of several quantitative investment firms to discuss how research teams are organized. Common themes include scientific inquiry, freedom to test ideas, cross-disciplinary discussion, shared…

Machine learningStatistics
Hudson & Thames

The article explains why financial time series are often made stationary for statistical inference and supervised machine learning, then presents fractional differentiation as a way to reduce nonstationarity while retaining more of a price series’ memory…

FuturesMachine learningStatistics
Hudson & Thames

The article describes Hierarchical Equal Risk Contribution (HERC), a portfolio allocation method that combines hierarchical clustering with cluster-aware capital allocation and risk balancing. It first groups assets from their return correlations, selects a…

Portfolio constructionRisk managementStatisticsMulti-asset
Hudson & Thames

The article explains CorrGAN, a generative adversarial network designed to create synthetic financial correlation matrices. The motivation is that historical market data can be costly, restricted, biased toward the events that occurred, and sparse in extreme…

Machine learningStatisticsPortfolio constructionRisk management
Hudson & Thames

This article presents a pairs trading method that selects stocks using correlations between their returns. In a formation period, it calculates monthly returns, finds each stock’s most correlated peers, and forms an equal-weighted peer portfolio. Regression…

EquitiesPairs tradingMean reversionArbitrage
Hudson & Thames

The release notes describe additions to a financial machine learning library, including time bars and information driven bars, structural break tests, market microstructure measures, entropy estimators, volatility estimators, clustering, dependence metrics,…

Market microstructureMachine learningStatisticsVolatility
Hudson & Thames

This tutorial presents preprocessing and labeling methods for supervised trading models. Fractional differentiation is used to make price features more stationary while retaining more of their historical dependence than ordinary differencing may preserve.…

Machine learningStatisticsBacktestingRisk management
Hudson & Thames

The article explains a stochastic control framework for convergence trades between cointegrated assets. Earlier approaches constrain positions to be delta-neutral and fix the relative stock weights; the generalized approach allows individual asset weights to…

Pairs tradingArbitrageMean reversionPortfolio construction
Hudson & Thames

The article reviews a proposed arbitrage portfolio that combines equity mean reversion with momentum across stock market indices. Its study separates data into an in-sample period from November 2005 to October 2007 and an out-of-sample period from November…

Mean reversionMomentumArbitrageEquities
Hudson & Thames

This lecture series surveys advanced pairs and statistical arbitrage methods. Topics include distance-based pair selection and dependence measures, cointegration with mean first-passage time for choosing trading boundaries, PCA strategies, machine learning…

Pairs tradingMean reversionArbitrageMachine learning
Hudson & Thames

The document introduces Hierarchical Risk Parity (HRP) as a portfolio allocation method intended to reduce sensitivity to noisy return estimates and covariance-matrix inversion in traditional mean-variance optimization. It explains HRP in three stages:…

Multi-assetPortfolio constructionRisk managementStatistics
Hudson & Thames

The document presents an analytical approach to choosing entry and exit thresholds for mean-reversion trading. It models a tradable process with an Ornstein–Uhlenbeck dynamic and uses first-passage-time calculations to derive the expected duration and…

Mean reversionPairs tradingStatisticsRisk management
Hudson & Thames

The document explains a mean-reversion strategy that uses a C-vine copula to model dependence among a cohort of stocks. It converts returns into empirical quantiles, fits candidate vine structures and bivariate copulas, then uses conditional probabilities to…

EquitiesMean reversionArbitrageStatistics
Hudson & Thames

This March 2019 research update summarizes a project report on applying financial machine learning methods to trend-following and mean-reverting strategies. The report combines event-based sampling, the triple-barrier labeling method, and meta-labeling, and…

Machine learningTrend followingMean reversionBacktesting
Hudson & Thames

This paper describes the motivation and design of a Python research package intended to make methods from financial machine learning easier to implement and study. It frames Lopez de Prado’s work as a research process built around data preparation, sampling,…

Machine learningBacktestingPosition sizingRisk management
Hudson & Thames

This article explains how stock selection should be matched to the trading strategy that uses copula-based signals. Copulas transform asset returns into conditional probability or cumulative mispricing series, but do not specify a trading rule on their own.…

EquitiesArbitragePairs tradingStatistics
Hudson & Thames

This introduction describes how copulas can model the dependence between two assets separately from the distribution of each asset. Marginal returns may each appear normally distributed without their joint behavior being normal; a Gaussian model can also…

Pairs tradingStatisticsArbitrage
Hudson & Thames

This tutorial explains Hierarchical Equal Risk Contribution (HERC), a portfolio allocation method that combines hierarchical clustering with risk-based weighting. It motivates the approach by describing how conventional mean-variance optimization can be…

Portfolio constructionRisk managementMulti-assetStatistics
Hudson & Thames

This technical article explains how to sample from and fit bivariate copulas, which model dependence between two variables separately from their marginal distributions. Sampling from a fitted copula can help compare simulated quantile pairs with historical…

Pairs tradingStatisticsArbitrage
Hudson & Thames

This article presents an unsupervised learning framework for narrowing the search for equity pairs that may exhibit mean reversion. It first applies principal component analysis to asset returns to represent shared risk exposures, then uses density-based…

EquitiesPairs tradingMean reversionMachine learning
Hudson & Thames

This article describes a basic distance approach to pairs trading. During a formation period, asset price series are normalized so their scales are comparable, then candidate pairs are selected using squared Euclidean distance. The spread’s historical…

Pairs tradingMean reversionStatisticsTechnical indicators
Hudson & Thames

This broad introduction defines pairs trading as taking opposing positions in co-moving assets when their relative prices depart from an equilibrium, with the expectation that the relationship will persist and prices will converge. It distinguishes pairs…

Pairs tradingArbitrageMean reversionPortfolio construction