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

Quant Q&A

The note explains a quotation describing mean-variance optimization as an estimation-error maximizer. It separates the optimizer’s response to estimated inputs from the sampling uncertainty of those inputs: all else equal, higher estimated returns, negative…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document asks how to reproduce the profit and loss of a USDCHF position with a stated size of 1,000 by trading USDEUR and EURCHF instead. It notes the triangular exchange-rate relationship: USDCHF is the product of USDEUR and EURCHF. The practical…

ForexPosition sizingPortfolio constructionArbitrage
Quant Q&A

The question considers how to apply the Kelly criterion when capital is allocated across several trading rules that generate multiple trades. It asks whether to assign capital to each rule in advance, size each trade according to its changing outlook, or…

Position sizingPortfolio constructionRisk managementStatistics
Quant Q&A

The document presents an attempt to maximize expected portfolio return minus a risk-aversion-weighted conditional value at risk (CVaR) penalty. It uses the Rockafellar-style scenario formulation, with a threshold variable for VaR and auxiliary variables…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to adjust individual asset returns so that their compounded cumulative return matches a chosen target, and whether there is a formal name for distributing the discrepancy. It contrasts multiplying each return by a common factor—an…

Portfolio constructionStatisticsBacktesting
Quant Q&A

The document asks whether a global tactical equity allocation model should compare country equity returns in local currency, currency-hedged form, or unhedged form. The model may already include currency positions, so the choice concerns which return series…

EquitiesMulti-assetPortfolio constructionRisk management
Quant Q&A

The answer explains why Alphalens factor analysis can represent a long-short portfolio after factor values are demeaned. Each value is centered by subtracting the cross-sectional mean, then scaled by the sum of the absolute demeaned values. These transformed…

Factor investingPortfolio constructionStatistics
Quant Q&A

The answer presents Omega, Sortino, and Kappa as alternatives to the Sharpe ratio when return distributions are non-normal or asymmetric. Omega compares probability-weighted gains and losses around a chosen minimum acceptable return, using the full return…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document outlines a proposed way to estimate a covariance matrix with a statistical factor model. It begins with a sample or robust covariance estimate, decomposes that matrix into eigenvalues and eigenvectors, rotates the factors, and retains only the…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document distinguishes valuing a dividend-paying stock from valuing an entire corporation. The question supplies projected free cash flow to the firm, a constant perpetual growth assumption, and the weighted average cost of capital. The answer explains…

EquitiesFixed incomePortfolio construction
Quant Q&A

The document examines whether a portfolio of stocks with beta near two should return twice as much as the S&P 500. Under CAPM, a fully diversified portfolio with beta two is expected to earn twice the market risk premium, rather than necessarily twice the…

EquitiesPortfolio constructionRisk managementFactor investing
Quant Q&A

The document describes a way to represent industry neutrality as a constraint on equity portfolio positions. First, classify stocks using an established industry taxonomy, which may have broad categories as well as more detailed levels. Then create a…

EquitiesPortfolio constructionRisk management
Quant Q&A

The document asks how to interpret the angle between a vector of expected returns and the portfolio weights produced by mean-variance optimization. It draws on a working paper that uses vector geometry to study Markowitz portfolios and describes robust…

Portfolio constructionStatisticsRisk managementFactor investing
Quant Q&A

The document considers how fund-of-funds investors can distinguish correlation during favorable periods from co-movement during losses. Two candidate funds may have similar overall correlations with an existing holding, yet differ in whether their…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document explains why Value at Risk can satisfy subadditivity when portfolio profits are jointly normally distributed. It expresses VaR at a confidence level below one-half using the position’s mean and standard deviation, then compares the VaR of two…

StatisticsRisk managementPortfolio construction
Quant Q&A

The discussion introduces quantization as a way to approximate a continuous space with a finite set of representative points. In the response, this idea is associated with centroidal Voronoi methods: each generator represents a neighborhood, allowing a…

StatisticsPortfolio constructionMachine learning
Quant Q&A

The document explains state variables as the information needed to determine a value function and the decisions available in a dynamic problem. Examples mentioned include wealth, capital, dividends, physical position, speed, and fuel. The central practical…

StatisticsPortfolio construction
Quant Q&A

To update portfolio weights after a period of asset returns, multiply each starting weight by one plus that asset’s return. These products represent the assets’ ending values relative to the portfolio’s initial total value. Sum the products to find the…

Portfolio constructionPosition sizingMulti-asset
Quant Q&A

The document considers Monte Carlo simulation of portfolio utility when both expected returns and covariance are uncertain. Expected returns are modeled with a Gaussian shock, while covariance is scaled by a random factor centered on one. The central…

Portfolio constructionRisk managementStatisticsBacktesting
Quant Q&A

The document proposes a weekly, market-neutral equity strategy for a filtered Nordic stock universe of roughly one hundred names. It combines three equally weighted signals: changes in analyst recommendations, changes in forward earnings estimates, and…

EquitiesMomentumFactor investingBacktesting
Quant Q&A

The document explains why a monthly return computed from the first and last account values can differ from the sum of the daily percentage returns. The monthly holding-period return is found by dividing the ending value by the starting value and subtracting…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The note considers mean–variance portfolio optimization when assets trade during different hours, leaving many hourly return observations unavailable or recorded as zero. The questioner worries that treating closed-market periods as zero returns can…

Multi-assetPortfolio constructionStatisticsRisk management
Quant Q&A

The document asks how widely institutions use MSCI Barra equity risk models, ideally measured by the fraction of assets under management relying on Barra rather than competing providers. It reports a single published estimate from a 2018 paper on portfolio…

EquitiesPortfolio constructionRisk management
Quant Q&A

The document asks how to interpret a shrinkage estimator that blends sample average returns with a prior proportional to each asset’s volatility. Its central expression is a scalar coefficient multiplied element-wise by the vector of asset standard…

Portfolio constructionStatisticsRisk management