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
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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,922 documents

Quant Q&A

The document explains why maximizing a portfolio’s expected return divided by its volatility leads to weights proportional to the inverse covariance matrix multiplied by expected returns. Because the Sharpe ratio is unchanged when all weights are scaled by…

Portfolio constructionStatisticsRisk management
Quant Q&A

The discussion clarifies that a Sharpe ratio can be calculated for returns with any distribution, but comparisons become misleading when distributions differ in shape. Its example contrasts two two-outcome portfolios: one has consistently moderate excess…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers replacing a diversified stock portfolio with long-dated calls on the same companies, keeping the same percentage allocation across names. It asks whether diversification carries over and what additional risks the options introduce. The…

OptionsEquitiesPortfolio constructionRisk management
Quant Q&A

The discussion explains how to calculate each asset’s regression beta relative to a portfolio formed from weighted asset returns. In a simple regression, beta is the covariance of the dependent variable with the explanatory variable divided by the…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document examines the meaning of the effective time length used to describe exponentially weighted covariance estimates. Its central explanation starts with a recursively smoothed scalar series, expands that recursion into geometrically declining weights…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document describes how to construct the Fama–French short-term and long-term reversal factors from six value-weighted portfolios. For each factor, stocks are sorted monthly into two size groups using the NYSE median market equity breakpoint and three…

EquitiesFactor investingMean reversionPortfolio construction
Quant Q&A

The document asks how to compute the hindsight-optimal sequence of holdings across a universe of stocks when an investor can trade daily, compounds returns, pays transaction fees, and cannot short. It considers dynamic programming and presents an attempted…

BacktestingPortfolio constructionPosition sizingStatistics
Quant Q&A

The document raises a corporate finance question about how to include a new debt issue in the weighted average cost of capital when a company already has debt and equity. It gives an example with two debt tranches carrying different pre-tax borrowing costs,…

Fixed incomePortfolio construction
Quant Q&A

The document considers how to estimate a stock-return covariance matrix for portfolio value-at-risk when some holdings have only one or two years of data, while the desired estimation window is longer. It asks whether to fill unavailable observations with…

EquitiesRisk managementPortfolio constructionStatistics
Quant Q&A

The document considers how portfolio construction works in practice, contrasting mean variance optimization and related risk objectives with simpler diversification and factor based approaches. Its central caution is that optimized weights depend on…

Portfolio constructionRisk managementFactor investingEquities
Quant Q&A

The document describes a portfolio risk simulation that combines GARCH-filtered standardized residuals, semiparametric marginal distributions with Gaussian-kernel interiors and generalized Pareto tails, and a time-varying Gaussian copula. The author…

Risk managementBacktestingStatisticsPortfolio construction
Quant Q&A

The document explains how the Markowitz mean-variance framework treats portfolio returns over a chosen investment period. Its example combines stocks and bonds with equal weights and shows that the portfolio’s expected return is the weighted average of the…

Multi-assetPortfolio constructionStatisticsRisk management
Quant Q&A

This question asks how to estimate the chance that at least one borrower in a portfolio defaults when companies have different default probabilities. Under independence, the probability of no defaults is the product of the individual survival probabilities;…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

This exchange explains how a portfolio with positive alpha in a single-index model can be paired with market exposure to isolate its modeled excess return. For each unit invested in the portfolio, the construction shorts 1.4 units of the market portfolio and…

ArbitrageEquitiesPortfolio constructionRisk management
Quant Q&A

The discussion describes how to calculate periodic returns for a long-short portfolio formed from high- and low-ranked asset groups. With equal allocations to the long and short sides, combine the two leg returns using their portfolio weights, reversing the…

Portfolio constructionFactor investingRisk management
Quant Q&A

The discussion explains why a stochastic discount factor can be written as an affine function of a portfolio return, and how a normalized form relates to the tangency portfolio. In incomplete markets, pricing conditions generally allow multiple SDFs; scaling…

EquitiesPortfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether one exchange-traded fund can provide exposure to equity markets around the world, rather than tracking a single national index. The answer points to two broad-market products: one tracking the FTSE Global All Cap Index and another…

EquitiesMulti-assetPortfolio construction
Quant Q&A

The document distinguishes two ways to describe an asset’s systematic risk in the CAPM. The quantity formed by multiplying the asset’s volatility by its correlation with the market expresses market-related risk in volatility units. Beta expresses that same…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document outlines symmetric, also called Löwdin, orthogonalization for a set of linearly independent column vectors. Starting from a matrix of vectors, it seeks a transformed basis whose columns are orthonormal. The general transformation is formed from…

StatisticsPortfolio construction
Quant Q&A

The document explains how target expected return serves as an input to mean–variance portfolio optimization and discusses its attainable range under different weight constraints. With short selling allowed and unrestricted borrowing, the response describes…

Portfolio constructionStatisticsRisk management
Quant Q&A

This document is a community-sourced reading list of influential work in quantitative finance, with emphasis on portfolio management and asset pricing since 2000. Suggested topics include covariance shrinkage, robust optimization, estimation with many…

Portfolio constructionRisk managementStatisticsFactor investing
Quant Q&A

The discussion addresses whether to correlate index price levels or returns when studying long-run relationships. One answer favors returns because successive price levels are dependent on earlier observations, which can create misleading correlation. Price…

StatisticsEquitiesPortfolio construction
Quant Q&A

The answers distinguish evaluating a long-term strategic asset allocation from measuring tactical tilts around that policy mix. Strategic allocation should be judged against the institution’s required return profile and mission; an endowment, for example,…

Portfolio constructionMulti-assetRisk managementStatistics
Quant Q&A

The document explains why bond sensitivities are commonly described with fixed-income measures such as duration rather than relying only on option-style Greeks. A bond’s value depends on a yield curve containing rates at multiple maturities, so its exposure…

Fixed incomeRisk managementPortfolio construction