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 document considers a portfolio problem that maximizes expected alpha subject to bounds on factor exposures, and asks how this linear formulation compares with Markowitz optimization. The responses clarify that the classical Markowitz mean-variance…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document clarifies how a performance analytics workflow can treat the risk-free rate when calculating or plotting portfolio risk and return. A scalar input represents a constant rate, while a vector can associate a different rate with each return period.…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document explains why logarithmic, power, and related concave utility functions recur in economic and investment models. Their appeal is mathematical tractability and the ability to express risk preferences through Arrow–Pratt absolute risk aversion, a…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document asks why portfolio utility commonly subtracts a variance penalty instead of a standard deviation penalty. For a single risky asset, a position scales expected return linearly and variance quadratically, which can produce a finite optimal…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document describes a two-asset risk-parity objective: compute each asset’s share of portfolio variance from its weight and the covariance matrix, then minimize the distance between those shares and equal contributions. The initial attempt uses a…

Portfolio constructionRisk managementPosition sizing
Quant Q&A

The document poses a one-year CAPM calculation for three assets. It supplies each asset’s annual volatility and market capitalization, assumes the returns of distinct assets have equal pairwise correlation, and gives the risk-free rate and expected market…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains how combining two uncorrelated return streams can raise a portfolio’s Sharpe ratio. It presents a regression argument: when the streams are uncorrelated, the first strategy’s beta relative to the second is zero, so its excess return is…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document compares three ways to estimate an annual Sharpe ratio from monthly index data: overlapping rolling annual returns, non-overlapping calendar-year returns, and annualized monthly excess returns. Its worked example uses monthly stock and risk-free…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers whether a U.S. retiree can hedge a personal spending basket whose inflation runs above CPI-U, using consumer-accessible investments over a long horizon. It concludes that no single individual instrument is identified that directly…

Fixed incomeCommoditiesRisk managementPortfolio construction
Quant Q&A

The document asks whether a user-selected risk-aversion parameter can adjust a portfolio built with the Black-Litterman approach. Its answer describes the framework as combining a return distribution with uncertain views, then passing the resulting expected…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document poses a research problem about predicting short-term price reversals in individual stocks and in a portfolio. The author observes that some stocks rise and then reverse, with the apparent pattern clearer in some names than others. They suspect…

EquitiesMean reversionPortfolio constructionStatistics
Quant Q&A

The document asks how to value a stock across a two-period binomial tree when it pays fixed cash dividends. It starts with a stock price of 100, up and down factors of 1.2 and its reciprocal, and dividends of 10 and 5 in successive periods. The author…

EquitiesDerivatives pricingPortfolio construction
Quant Q&A

The document raises a practical question about a statement in a diversification paper: principal component eigenvalues correspond to the variances of uncorrelated portfolios. The author compares eigenvalues from the covariance matrix of asset returns with…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document frames return replication as a least-squares portfolio problem: choose weights on a set of assets so their daily returns track a target asset. It introduces the unconstrained regression solution, then explains that requiring weights to be…

Portfolio constructionStatisticsEquities
Quant Q&A

The document describes a researcher calculating monthly Sharpe ratios for a large set of mutual funds over a ten-year sample and finding that every result is positive. The stated calculation takes each fund’s average monthly excess return and divides it by…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document presents a finite-state price tree for an underlying asset, with zero interest and a cash dividend paid between observation dates. It sketches how to find risk-neutral transition probabilities by matching each node’s current value to the…

OptionsEquitiesDerivatives pricingRisk management
Quant Q&A

The document frames an optimization problem: selecting asset allocations across successive decades over a century, using a restricted set of choices among equities, cash, and bonds. Each period permits either a full allocation to one asset or an equal split…

Portfolio constructionBacktestingStatisticsEquities
Quant Q&A

The document distinguishes the regression meaning of alpha from the broader way traders use the term. In a single-benchmark model, portfolio returns are regressed on benchmark excess returns; beta captures market exposure, while alpha is the intercept…

StatisticsFactor investingPortfolio constructionEquities
Quant Q&A

The document describes a dissertation calculation of daily returns for a value-weighted portfolio of large corporations, using prior-day market values as weights to avoid using future information. It outlines normalizing market values across constituents,…

EquitiesPortfolio constructionBacktestingStatistics
Quant Q&A

The document considers portfolio shrinkage targets that do not require expected-return estimates, including minimum-variance, risk-parity, equal-risk, equal-weight, and maximum-diversification approaches. Such targets can temper noisy return estimates used…

Portfolio constructionRisk managementStatistics
Quant Q&A

The discussion addresses how to obtain historical Eurozone fixed-income index data for a multi-factor study of European bond funds when Bloomberg is unavailable and replacement ETFs lack sufficiently long histories. The response names Yieldbook index…

Fixed incomeMulti-assetFactor investingPortfolio construction
Quant Q&A

The document addresses whether factor betas that are imprecisely estimated in time-series regressions can still produce a statistically precise risk premium in a cross-sectional regression. The answer is yes in principle, but beta measurement error works…

Factor investingStatisticsPortfolio constructionRisk management
Quant Q&A

The document raises questions about Merton’s derivation of the security market line from the tangency portfolio. Its focus is the covariance between an individual asset and the market portfolio: the reader asks why that covariance can be written as a…

StatisticsPortfolio constructionFactor investing