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

Quant Q&A

The document asks whether researchers can apply published Fama–French factors when their stock universe or screening rules differ from those used to construct the factors. One response recommends matching factor exposures to the investable universe, while…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document compares principal component analysis and Cholesky decomposition for generating correlated normal risk factors in Monte Carlo simulation. When both methods use the same covariance matrix without reducing dimensions or altering components, they…

StatisticsRisk managementPortfolio constructionBacktesting
Quant Q&A

The document considers how to calculate an efficient frontier when assets have different return-history lengths. A complete-case approach, using only dates shared by every asset, discards earlier observations for assets with longer histories; the question…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document poses an econometric question about comparing two long-only portfolio construction strategies tested on the same data. It contrasts testing a single strategy’s performance against the market using Jensen’s alpha with the separate problem of…

Portfolio constructionBacktestingStatistics
Quant Q&A

The document asks whether a portfolio’s return distribution can be formed by weighting the return distributions of its component assets. It distinguishes the straightforward weighted calculation of expected returns from portfolio variance, which also depends…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document examines a one-period portfolio choice in which an investor allocates wealth between a risky asset and a risk-free asset under constant absolute risk aversion (CARA) utility. Its central issue is whether the amount invested in the risky asset…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document is a beginner’s question about learning how stock markets work and finding information on shares. The reply points toward historical price information and explains that buying and selling securities requires a brokerage account. It also suggests…

EquitiesPortfolio constructionRisk management
Quant Q&A

The document addresses a concern that a 50/50 portfolio of two stocks shows cumulative performance above 100 percent. The response checks the adjusted-price histories individually and finds that gains of this scale can be plausible over the sample shown.…

EquitiesPortfolio constructionBacktesting
Quant Q&A

The document explains why a portfolio’s estimated loading on the Fama–French size factor need not rank in the same order as its average company market capitalization. A factor regression measures how portfolio returns behave relative to the factor; it does…

Factor investingEquitiesStatisticsPortfolio construction
Quant Q&A

The document asks how to combine the durations of two funds held at specified portfolio weights. It states duration as the present-value-weighted average timing of cash flows and proposes taking the weighted average of the funds’ durations. The accepted…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document raises a portfolio optimization problem in which a variance calculation produces a negative result. It identifies the covariance matrix as a possible source: if the matrix is not positive semidefinite, some portfolio weight vector can yield a…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document considers whether portfolio weights can be chosen by maximizing average portfolio log returns directly from observed data, without fitting a named probability distribution. One response explains that this still amounts to modeling returns: the…

Portfolio constructionPosition sizingStatisticsRisk management
Quant Q&A

The document raises a question about converting annualized arithmetic and geometric return assumptions shown in a capital market assumptions publication. It cites the familiar approximation that geometric return is approximately arithmetic return minus half…

StatisticsPortfolio construction
Quant Q&A

The document asks how an asset’s mean, variance, skewness, and kurtosis contribute to its weight in a portfolio. It contrasts two possible approaches: studying how the optimal weight vector changes as moments change, or attributing weight through…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document describes a portfolio manager’s difficulty optimizing a fixed-income portfolio using yield to maturity, duration, and credit rating. The current score favors short-maturity, highly rated US bonds when the yield curve is flat, leaving the…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document asks whether a Bloomberg feature can plot spread duration by tenor for an issuer or sector, including measures such as DTS and option-adjusted spread duration. The eventual response says no suitable term-structure plot was available in the…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document asks what data are needed to calculate a sector’s dividend yield from company-level cash dividends and security identifiers. The answer says to obtain each company’s spot price first, so a yield can be calculated for each constituent. It then…

EquitiesStatisticsPortfolio construction
Quant Q&A

The note demonstrates constructing a time series intended as a stock index from the first principal component of several stock return series. It treats stocks as variables in a principal component analysis, projects each observation onto the first component,…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains why two calculations of a two-stock portfolio’s average daily return can differ. One method takes each stock’s average return and combines them using fixed portfolio weights. That calculation represents a portfolio whose weights are…

Portfolio constructionEquitiesStatistics
Quant Q&A

The document introduces the challenge of estimating covariance matrices for forecasting future realized volatility across assets. Covariances change over time, and estimating a matrix for many assets involves a large number of parameters, making reliable…

Multi-assetVolatilityStatisticsPortfolio construction
Quant Q&A

The discussion questions whether stronger historical returns from a concentrated index such as the Nasdaq-100 justify giving it more portfolio weight than a broad-market index. The response emphasizes sector and constituent concentration, and warns that past…

EquitiesPortfolio constructionRisk managementUS markets
Quant Q&A

The note discusses whether finance should be treated as a subfield of economics or as a distinct discipline. It describes overlap in their history and methods: economists contributed much early work in finance, and financial research draws on econometrics,…

StatisticsPortfolio construction
Quant Q&A

The document considers how a financial time-series library should calculate beta from market and asset returns. Its central design question is whether to annualize returns before calculating beta, given that practitioners use different sampling intervals,…

StatisticsEquitiesPortfolio construction
Quant Q&A

The document frames constrained random portfolio generation as sampling weights that satisfy linear equality and inequality conditions. Equality constraints can be maintained by taking steps within the null space of the equality matrix, for example through a…

Portfolio constructionStatistics