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
QuantRocket
7 documents
Lumibot strategies
7 documents
Awesome Quant
1 documents

Search the library

5,922 documents

arXiv papers

This document describes an active strategy that shifts allocation between equal-weighted and capitalization-weighted equity portfolios. Its motivation is that equal weighting has often outperformed over long periods, but can lag when market concentration and…

EquitiesPortfolio constructionBacktestingRisk management
arXiv papers

The paper studies whether momentum information in one futures market can help predict momentum in others. It builds a network from price-derived momentum features across 64 continuously traded contracts in commodities, equities, bonds, and currencies,…

Multi-assetFuturesMomentumMachine learning
arXiv papers

The document describes a data-driven sliding-window method for solving a log-optimal portfolio problem. Rather than assigning one fixed set of portfolio weights, the approach produces weights that vary over time. This offers a way to adapt portfolio…

Portfolio constructionStatisticsBacktesting
arXiv papers

The document presents L2GMOM, a machine-learning framework for network momentum. Network momentum uses relationships among assets to help predict future returns. The proposed framework learns the financial network and trading signals together, instead of…

FuturesMomentumMachine learningPortfolio construction
arXiv papers

This paper describes a model-less convolutional neural network that takes historical prices for a set of assets and outputs portfolio weights. It is trained through reinforcement learning, with cumulative return serving as the reward. The training data cover…

CryptoMachine learningPortfolio constructionBacktesting
arXiv papers

The paper addresses a portfolio-construction problem in statistical arbitrage: signals from many pairs can conflict, making it difficult to combine opportunities across a large group of securities. It proposes representing preference relations among…

EquitiesPairs tradingArbitragePortfolio construction
arXiv papers

The document studies portfolio growth optimization when expected asset returns are uncertain. It considers an incomplete, high-dimensional market in which asset prices depend on stochastic factors. Rather than fixing the drift completely, the framework…

StatisticsRisk managementPortfolio constructionPairs trading
arXiv papers

The paper develops an adaptive matrix-variate Markov chain Monte Carlo method for Bayesian cointegrated vector autoregressions. It replaces griddy Gibbs sampling with an automated Adaptive Metropolis approach, intended to make posterior estimation practical…

StatisticsMachine learningPairs tradingPortfolio construction
arXiv papers

The paper evaluates whether macro and market signals can time allocations between growth and defensive ETF baskets. It frames the task as style allocation rather than discovery of a new alpha factor: factor attribution finds that the growth-minus-defensive…

EquitiesFactor investingPortfolio constructionRisk management
arXiv papers

This paper examines how to estimate portfolio volatility and asset risk contributions over holding periods longer than one day. The familiar square-root-of-time scaling assumes returns are not serially correlated. Under that assumption, volatility…

Multi-assetVolatilityRisk managementPortfolio construction
arXiv papers

These notes build a quantitative treatment of mean-reversion, beginning with pair trading and then progressing through demeaning, regression, weighted regression, constrained optimization, and factor models. The sequence shows how increasingly general…

Mean reversionPairs tradingPortfolio constructionExecution
arXiv papers

This paper formulates optimal investment for an investor with constant relative risk aversion preferences in a continuous-time, incomplete market. Asset prices follow Itô processes, and trading strategies must satisfy dynamic risk constraints that vary with…

Risk managementPortfolio constructionStatistics
arXiv papers

The document treats exchange quote-pair selection as an optimization problem: exchanges need to cover all currencies while prioritizing liquid pairs and limiting operational complexity. Because most possible pair volumes are unobserved, the proposed method…

CryptoMarket microstructureStatisticsPortfolio construction
arXiv papers

This document examines how proportional transaction costs constrain leveraged investing in a market with one safe asset and one risky asset. It considers strategies designed to maximize long-term returns while maintaining an average volatility level, and…

Risk managementPosition sizingVolatilityPortfolio construction
arXiv papers

The paper proposes Mid-LSTM, a deep learning model intended to predict stock prices over a midterm horizon while accounting for market anomalies. Its design represents market trends as hidden states. The described approach first formulates a midterm ARMA…

EquitiesMachine learningStatisticsPortfolio construction
arXiv papers

The paper develops a portfolio framework built around trend-following signals. It combines an autocorrelation model with the covariance of trends and risk premia, and specifies models for the trend covariance matrix. The resulting optimal portfolio is…

Trend followingPortfolio constructionRisk managementBacktesting
arXiv papers

The paper describes a deep-learning approach to portfolio selection in US equities. Its residual switching network uses one module to identify market conditions and another to produce momentum and reversal forecasts, switching between the two types of signal…

EquitiesMachine learningMomentumMean reversion
arXiv papers

This study examines optimal consumption and investment under power utility as relative risk aversion approaches two limiting cases: infinity and one. It establishes convergence results for optimal consumption in general semimartingale models, and for optimal…

Risk managementPortfolio constructionStatistics
arXiv papers

This paper addresses how to construct a portfolio from underlying assets for use in statistical arbitrage, including pairs trading. The design seeks a portfolio with useful mean-reversion behavior while also controlling its variance, subject to an investment…

Portfolio constructionMean reversionPairs tradingArbitrage
arXiv papers

The paper evaluates how adding Bitcoin affects an internationally diversified portfolio using mean-variance optimization, conditional value-at-risk, and Markov regime switching. The first two frameworks indicate that Bitcoin can improve diversification, but…

CryptoPortfolio constructionRisk managementStatistics
arXiv papers

This study examines optimal investment in two cointegrated stocks for an investor with constant relative risk aversion utility. It extends earlier stochastic-control work by focusing on whether the optimization problem is well-posed and by supplying a…

EquitiesPairs tradingMean reversionPortfolio construction
arXiv papers

This work derives an approximate portfolio strategy for an investor in a simple incomplete market with a general utility function. It uses the Hamilton-Jacobi-Bellman equation for the value function and develops a first-order expansion in the length of the…

Portfolio constructionStatistics
arXiv papers

This study proposes a stock portfolio method based on predicting the distribution of residual factors, which capture information beyond common market exposures and can help hedge those exposures. It describes two main components: a computationally efficient…

EquitiesMachine learningFactor investingPortfolio construction
arXiv papers

The paper formulates a portfolio design problem for statistical arbitrage, seeking combinations of underlying assets with strong mean-reverting behavior. Its objective balances a criterion measuring mean-reversion strength against portfolio variance, while…

Mean reversionPairs tradingPortfolio constructionStatistics