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
WonderTrader
14 documents
Alphalens
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 discussion explains how to apply CAPM when a portfolio contains technology stocks traded on different US exchanges. Exchange membership alone does not determine the appropriate market benchmark: the index should reflect the systematic risk relevant to…

EquitiesPortfolio constructionRisk managementUS markets
Quant Q&A

The document considers whether a small grid-computing setup is worthwhile for recurring research computations. It describes task-scheduling needs such as priorities, software dependencies, resource requirements, job dependencies, runtime limits, and…

BacktestingExecutionPortfolio construction
Quant Q&A

The document explains a forecast transformation from portfolio research: center a vector of raw forecasts by subtracting its mean, then multiply by the inverse transpose of a matrix factorizing the forecasts' covariance. If the covariance matrix is written…

Portfolio constructionStatisticsFactor investing
Quant Q&A

The document contrasts the conventional arithmetic-return Sharpe ratio with a geometric version for evaluating mutual fund performance. The geometric approach is described as using compounded excess returns and their dispersion; it is also related to the…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document discusses how portfolio skewness and kurtosis relate to the higher-order co-moment tensors of asset returns. Its main practical point is that the tensor formulas can be understood as contracting each tensor with the portfolio weights until a…

StatisticsPortfolio construction
Quant Q&A

The document asks how to encourage a portfolio optimizer to use only as much turnover as its return and risk objectives justify. It explains that an upper bound on absolute weight changes limits trading but does not discourage the optimizer from using the…

Portfolio constructionExecutionRisk management
Quant Q&A

The document considers a resampled efficient frontier procedure that simulates multivariate normal monthly returns. An investment horizon of six years is described, while the lecturer’s program generates twelve years of data and uses a six-year slice to…

Portfolio constructionBacktestingStatistics
Quant Q&A

The document addresses how to calculate value-weighted or equal-weighted portfolio returns when a security’s return is missing for a period. It recommends using beginning-of-period market-capitalization weights and the period’s observed returns, filtering…

Portfolio constructionBacktestingEquities
Quant Q&A

The document proves that a two-by-two determinant arising in the Markowitz portfolio allocation derivation is nonnegative when the covariance matrix is symmetric and positive definite. It rewrites the determinant using the inverse covariance matrix, then…

StatisticsPortfolio construction
Quant Q&A

The document raises a benchmark currency problem for a European investor whose portfolio is measured in euros but holds mostly unhedged US securities. It asks whether converting a US equity benchmark using spot EUR/USD rates produces a fair comparison, and…

ForexPortfolio constructionUS marketsEquities
Quant Q&A

The question outlines a procedure for constructing the size and value portfolios used to form the Fama–French three-factor model from monthly stock data. At each period, stocks are split into small and big groups using market capitalization, then each size…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document asks whether Markowitz portfolio weights can be updated efficiently when each new price observation changes the covariance estimate through a rank-one update. It also asks whether using the previous time step’s weights as the optimizer’s initial…

Portfolio constructionStatisticsHigh-frequency tradingRisk management
Quant Q&A

The document explains that a minimum-variance portfolio does not necessarily assign a nonzero weight to every risky asset. A weight can be zero, and unconstrained optimization can also produce negative weights when short selling is allowed. Its example uses…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers what can be inferred about a risk-free return when one risky investment is said to be efficient under CAPM assumptions. The answer offers a geometric argument: compare the candidate investment and the other listed portfolios in…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document asks how to position for a change in the Treasury yield curve while a five-year corporate bond’s credit spread remains constant. It contrasts a duration-neutral trade using Treasuries at different maturities with a proposed trade that shorts the…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

This document is aimed at a project supervisor seeking a broad map of machine learning methods relevant to an algorithmic momentum strategy. It names families such as neural networks, reinforcement learning, regression, clustering, Markov models,…

Machine learningMomentumBacktestingPortfolio construction
Quant Q&A

The discussion points to sources of analytical Value at Risk and Conditional Value at Risk formulas across continuous distributions. It explains that VaR is obtained from a distribution's cumulative distribution function by taking the relevant quantile, and…

Risk managementStatisticsPortfolio constructionVolatility
Quant Q&A

The discussion explains why annualized return figures cannot be carried across different holding periods without specifying the compounding convention. It contrasts an investment growing by an annual rate compounded once with alternatives compounded monthly…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document distinguishes stochastic programming from stochastic dynamic programming and recommends different references for each. It identifies Birge and Louveaux’s second edition as a useful introduction to stochastic programming, highlighting its…

StatisticsPortfolio construction
Quant Q&A

The document considers whether a portfolio’s volatility can be estimated directly with GARCH instead of first estimating the covariance matrix of its component assets. The responses clarify that the model should be fitted to portfolio returns rather than…

VolatilityPortfolio constructionRisk managementStatistics
Quant Q&A

The document questions whether modern portfolio theory and mean–variance optimization adequately address fat-tailed returns and the difficulty of estimating covariances. It asks whether ideas associated with Mandelbrot and Taleb, including fractal…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether a one-million spread option should be treated as one million of notional or as separate pay and receive legs totaling two million for initial-margin purposes. One response frames the spread as changing the payoff on a single…

OptionsRisk managementDerivatives pricingPortfolio construction