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 gathers several starting points for learning to price options on weighted combinations of assets. Suggestions include studying a method that approximates basket, spread, and Asian options through sums of Black-Scholes-Merton models, which is…

OptionsDerivatives pricingStatisticsPortfolio construction
Quant Q&A

The document discusses the difficulty of turning an inverse valuation ratio into portfolio weights when its inputs can be negative or near zero. One proposed approach is to maximize EBIT divided by enterprise value instead of minimizing enterprise value…

EquitiesFactor investingPortfolio constructionPosition sizing
Quant Q&A

The document describes a problem in constructing monthly price or cost histories for groups of materials whose membership changes over time. Across roughly 200 groups, each containing from a handful to several thousand materials, purchases are intermittent…

CommoditiesStatisticsPortfolio construction
Quant Q&A

Return-based style analysis estimates a manager’s effective exposure to selected asset classes by fitting the manager’s returns to those assets. The response explains that the method commonly uses multivariate linear regression over rolling windows, with…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The discussion addresses how to compare a resampled efficient frontier (REF) with standard mean–variance optimization (MVO) when expected returns and a covariance matrix are available but future outcomes are not. It presents two sharply conflicting views of…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

The document considers whether a portfolio objective should combine several performance and risk measures, such as multiplying Sharpe and Sortino ratios or dividing multiple return measures by multiple risk measures. The response cautions that an objective…

Portfolio constructionRisk managementStatistics
Quant Q&A

The discussion distinguishes two sets of normative principles that apply to different objects. Von Neumann–Morgenstern axioms describe rational preferences over choices and gambles, including completeness, transitivity, continuity, and independence. Coherent…

Risk managementPortfolio constructionStatistics
Quant Q&A

The discussion explains what principal component analysis does when applied to asset returns: it forms orthogonal components as linear combinations of the original assets. Keeping fewer components can simplify covariance calculations and represent correlated…

Portfolio constructionStatisticsFactor investing
Quant Q&A

The document considers choosing weights for two stocks to minimize portfolio variance while targeting a beta of one. It supplies expected returns, volatilities, a correlation, and betas measured against an index, and shows that the covariance information can…

EquitiesPortfolio constructionStatistics
Quant Q&A

This discussion considers how to measure a bond portfolio's sensitivity to a yield shift in one currency when the holdings are denominated in several currencies. A weighted average of bond modified durations describes sensitivity to a simultaneous parallel…

Fixed incomeMulti-assetRisk managementPortfolio construction
Quant Q&A

This note outlines the factors said to inform the currencies and weights in the International Monetary Fund's Special Drawing Rights basket. The answer describes the SDR primarily as a unit of account for the IMF and related institutions, rather than as a…

ForexMulti-assetPortfolio construction
Quant Q&A

This discussion explains the CAPM intuition for why an asset with negative market beta may have a lower expected return than the risk-free rate, even if its standalone volatility matches that of a positive-beta asset. CAPM relates expected return to…

EquitiesRisk managementPortfolio constructionStatistics
Quant Q&A

The document examines whether a lower estimated expected shortfall implies lower sample standard deviation. Under a normal distribution, it describes a relationship in which scaling volatility changes expected shortfall in the same direction, while the sign…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document asks how to deploy a fixed cash allocation into an asset class while seeking a favorable average purchase price. Its example splits an allocation into several buys at progressively lower index levels, then contrasts that idealized path with…

Portfolio constructionExecutionEquitiesRisk management
Quant Q&A

The document asks how to size overweights and underweights in a ten-asset portfolio relative to benchmark weights. The investor has views on four assets and wants to scale active positions so their risk contributions are balanced, while keeping the remaining…

Portfolio constructionRisk managementPosition sizingStatistics
Quant Q&A

The document distinguishes mean-variance optimization from maximizing the Sharpe ratio. Mean-variance analysis can mean constructing the frontier of portfolios that minimize variance for a target expected return, or choosing a portfolio based on an…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document raises a question about how a market-cap-weighted index should behave when one constituent rises in price and another is unchanged. It contrasts changing portfolio weights with the index level, and asks whether major equity indices recalculate…

EquitiesUS marketsPortfolio construction
Quant Q&A

The document discusses approaches to modeling concentration risk in credit portfolios within the Basel IRB context. One approach starts from the Asymptotic Single Risk Factor model and modifies it to align with Basel II, then compares sector concentration…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The discussion explains how a copula separates the marginal distributions of variables from their dependence structure. For continuous variables, applying each variable’s cumulative distribution function maps its values to uniform variables. A copula…

StatisticsRisk managementPortfolio construction
Quant Q&A

The document considers whether a portfolio optimizer can impose a minimum active share relative to a benchmark. Active share is expressed as half the sum of absolute weight differences, or equivalently as one minus the sum of the smaller portfolio and…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document raises foundational questions about how yield relates to duration and discounting. It distinguishes Macaulay duration, the present-value-weighted average timing of a bond’s cash flows, from the bond’s final maturity. A bond with duration shorter…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The note compares how single-index and multi-index factor models represent the covariance matrix of stock returns. In the single-factor case, covariance is modeled as market variance times the outer product of security betas, plus a diagonal matrix of…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains a simulation framework for comparing Markowitz mean-variance optimization with Michaud’s resampled efficient frontier. A referee treats a specified set of asset means and covariances as the true population values, generates simulated…

Multi-assetPortfolio constructionStatisticsBacktesting
Quant Q&A

The document collects two reported causes of an error in PortfolioAnalytics’ efficient frontier function. One answer links the problem to using a newer version of the ROI optimization infrastructure and reports that the function worked with older ROI…

Portfolio constructionStatistics