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 document asks how Cover’s universal portfolio algorithm compares with two simple allocations: a constant-relative-proportions portfolio that rebalances to equal weights, and a buy-and-hold allocation that initially divides wealth equally across assets.…

Portfolio constructionBacktestingStatistics
Quant Q&A

The document introduces the maximum diversification portfolio objective, defined as the weighted sum of asset volatilities divided by portfolio volatility. The numerator uses asset weights and individual volatilities; the denominator depends on the…

Portfolio constructionVolatilityStatistics
Quant Q&A

The discussion addresses how to calculate Sharpe ratios for historical portfolios and compare them with figures published by fund companies or financial portals. It asks which risk-free rate to use and how to align return and volatility calculations. The…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document addresses how to compare portfolio performance from quarterly observations over a common sample period. It converts the cumulative return into a per-quarter compounded rate using the number of observations, then annualizes that rate by…

Portfolio constructionStatistics
Quant Q&A

The document gives two ways to form a bond portfolio with matched dollar BPV, making the portfolio duration-neutral while retaining positive convexity. One example pairs a lower-coupon Treasury with a higher-coupon Treasury of a nearby maturity. The stated…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document presents a one-period market with three possible states and two assets: a risk-free asset and a risky asset whose returns differ by state. It asks how to prove that no arbitrage exists and how to describe the family of state price vectors when…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document examines whether a cross sectional mean reversion strategy can replicate an equity index using a subset of its components. The proposed signal buys stocks whose returns lag the universe and shorts those that outperform. The response explains…

EquitiesMean reversionPortfolio constructionBacktesting
Quant Q&A

The document asks how to estimate annual mean returns and a four-asset covariance matrix from quarterly observations. It states the correct compounding relationship: an annual return is the product of the four quarterly gross returns minus one. The proposed…

Multi-assetStatisticsPortfolio construction
Quant Q&A

The document asks whether investors can build a diversified portfolio with higher expected returns by combining risky investments whose returns are uncorrelated. It frames the question with an asset-pricing relation in which price depends on expected future…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document distinguishes two definitions of tracking error and explains how each relates to a portfolio’s beta against its benchmark. When tracking error is the volatility of active returns—the portfolio return minus the benchmark return—a beta of one is…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document outlines a practical workflow for stock factor investing: define an investible universe, collect and process factor data, then rank or score securities. It describes several ways to turn scores into holdings, including selecting a subset and…

EquitiesFactor investingPortfolio constructionBacktesting
Quant Q&A

The document explains how to estimate alpha for many funds at once using the Fama–French three-factor model. It arranges each fund’s returns in a separate column, subtracts the risk-free rate to form excess returns, and constructs a shared factor matrix with…

Factor investingPortfolio constructionStatisticsRisk management
Quant Q&A

The document compares forecasting each security’s return and combining the predictions with forecasting a portfolio return directly. Its central point is that, for linear return models, portfolio characteristics or factor exposures are weighted averages of…

Portfolio constructionStatisticsRisk management
Quant Q&A

This document raises a portfolio-attribution question: how to extend geometric Brinson-style analysis so that overweight and underweight positions in individual securities and groups can be examined separately. It distinguishes the allocation component,…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document explains an example comparing the future value of pre-tax and post-tax retirement contributions. It starts with a dollar contribution, a fixed tax rate, an annual return, and a retirement horizon. The post-tax amount is compounded directly; the…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document asks whether portfolio concentration by region or industry can serve as a proxy for general wrong-way risk (GWWR). It defines GWWR as a relationship in which broad market factors both increase exposure and raise a counterparty’s probability of…

Risk managementFixed incomeDerivatives pricingPortfolio construction
Quant Q&A

The question asks whether Markowitz portfolio construction should use closing prices or dividend-adjusted prices when estimating a minimum-variance portfolio, an optimal risky portfolio, and an efficient frontier. The answer frames the choice around how the…

Portfolio constructionEquitiesBacktesting
Quant Q&A

The document asks how to use five years of weekly returns for three asset classes to find a minimum-variance portfolio and plot an efficient frontier in Excel. It notes that a simple two-asset weight table becomes cumbersome as the number of assets grows,…

Portfolio constructionStatisticsRisk management
Quant Q&A

This discussion interprets a corporate bond portfolio’s relative weights across short, medium, and long maturity buckets alongside credit-curve movements. Overweight positions in shorter and intermediate buckets, with an underweight in the long bucket, are…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document considers portfolio rebalancing when expected-return signals refresh quarterly but risk estimates update daily. At an interim rebalance, prices have moved while the original alpha forecasts grow stale, creating uncertainty about whether to…

Portfolio constructionRisk managementExecutionBacktesting
Quant Q&A

The document explains that whether to include an intercept in a return regression depends on the hedge objective. Regressing the returns of an asset on other assets produces hedge weights, but the intercept changes what the fit is optimizing. For minimizing…

EquitiesStatisticsRisk managementPortfolio construction
Quant Q&A

The document considers comparing two portfolio strategies when Monte Carlo simulation produces a collection of Sharpe ratio estimates for each strategy. The response uses an approximate normal sampling distribution for an estimated Sharpe ratio, with…

StatisticsPortfolio constructionBacktesting
Quant Q&A

The document discusses how to assess whether an asset pricing model needs an additional factor, using the size factor in a three-factor model as an example. A factor’s average return alone does not determine whether it can be removed: dropping it can change…

Factor investingStatisticsPortfolio construction
Quant Q&A

A correlation matrix may show small negative eigenvalues because of floating-point rounding or estimation problems. The document does not supply a universal cutoff for deciding whether a negative value is merely numerical noise. Instead, it points to…

StatisticsPortfolio constructionRisk management