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 discussion explains that Black–Litterman combines a prior distribution for expected returns with investor views to produce posterior return estimates and a covariance matrix. The prior need not be market-implied: using another estimate, such as one…

Portfolio constructionStatisticsRisk managementMulti-asset
Quant Q&A

The document describes two practical roles for utility functions in quantitative finance. Systematic funds and trading desks may use utility in portfolio optimization to represent how an investor values risk and return. The answer illustrates why maximizing…

Portfolio constructionRisk managementDerivatives pricing
Quant Q&A

The document explains why market-cap-weighted indices are common benchmarks even though principal component analysis can identify an orthogonal portfolio that captures the most variation among constituents. It emphasizes that an index’s purpose is often to…

EquitiesPortfolio constructionStatisticsFutures
Quant Q&A

The document asks whether a stock with high return autocorrelation deserves a larger portfolio weight, including when its Sharpe ratio is poor. The response cautions that apparent predictability must persist and generate gains after transaction costs and…

EquitiesMomentumPortfolio constructionRisk management
Quant Q&A

The document explains two ways to estimate tracking error for a portfolio of funds relative to a benchmark. For an ex-ante estimate, form a forecast covariance matrix and apply it to the portfolio’s active weights, meaning portfolio weights minus benchmark…

Portfolio constructionRisk managementStatistics
Quant Q&A

The problem gives four assets, their initial prices, and their values in three possible future states. It asks for holdings that produce a fixed payoff of £30 in every state, then asks for the portfolio’s profit or loss. The answer recommends writing one…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document describes a backtesting problem involving a large equity universe, pre-adjusted price data, and bonus shares received during the test period. Because the transaction records retain the original share quantity, the extra shares are not…

EquitiesBacktestingPortfolio construction
Quant Q&A

The document poses a mean-variance portfolio question involving the market excess return and two long-short factor portfolios. Transaction costs have already been deducted from the factors, leaving their expected net returns negative. Under these…

Factor investingPortfolio constructionRisk managementStatistics
Quant Q&A

The document asks whether individual returns can be recovered from a single weighted average when the component weights are known. Its example gives one overall return formed from three unknown returns and their respective weights. The answer points out the…

StatisticsPortfolio construction
Quant Q&A

The document considers how to combine several performance measures, including profit and loss, win-to-loss ratio, and gain-to-drawdown ratios, into one score. It describes two approaches: standardize each measure against a null model before combining them,…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document outlines an implementation question about hierarchical principal component analysis for financial predictors divided into five groups. It contrasts a standard PCA on the full training matrix with a two-stage idea drawn from a…

EquitiesMachine learningPortfolio constructionStatistics
Quant Q&A

This note explains how two common approaches to invested capital for return-on-invested-capital analysis can be reconciled. The financing approach starts with equity, adds financial and leasing debt, and subtracts cash and financial investments. The…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document explains how portfolio VaR can be attributed to individual positions without assuming normally distributed returns. For a homogeneous risk measure such as VaR, Euler allocation relates each position’s contribution to its conditional expected…

Risk managementPortfolio constructionStatisticsBacktesting
Quant Q&A

The document explains why the square of an information ratio can relate to value added in an active portfolio. It defines the ex-ante information ratio as expected alpha divided by active risk, then models value added as alpha minus a penalty proportional to…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document explains how to define and estimate a portfolio yield spread relative to a risk-free rate. For bonds priced at par with a common maturity, the portfolio’s coupon yield can be derived from the weighted coupons, then compared with the risk-free…

Fixed incomePortfolio constructionStatisticsRisk management
Quant Q&A

The document asks whether a weighted average of three variance-covariance matrices is a sound way to combine risk estimates derived from the same return series. The candidates are a basic sample estimate, a version with a correlation shock, and an…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document explains why a sample variance-covariance matrix may predict future stock-return risk poorly and destabilize mean-variance portfolio choices. With finite data, each estimated covariance is uncertain; when the number of assets is large relative…

EquitiesStatisticsPortfolio constructionRisk management
Quant Q&A

The document describes a simulated operational risk model in which individual losses are assigned distributions, calibrated from selected percentiles, and sampled using event frequencies. It then asks whether the Iman–Conover method is the standard way to…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document asks how to calculate the return of a currency basket when its components have stated dollar allocations. It gives a two-currency example and first computes each position’s gain or loss separately, then adds the dollar results. It compares that…

ForexPortfolio constructionStatistics
Quant Q&A

The document considers alternatives to Excel for investment and portfolio coursework on Linux. One answer recommends R for financial analysis, describing it as a different, programming-oriented way of working rather than a spreadsheet interface. Another…

Portfolio constructionEquitiesStatistics
Quant Q&A

The document explains how market making in open-ended exchange-traded funds connects secondary-market trading with the primary market. Authorized participants can create ETF units by delivering underlying securities to the sponsor or redeem units for those…

EquitiesMarket makingArbitragePortfolio construction
Quant Q&A

The document concerns how cash and deposit assets should be grouped in the Solvency II Assets D1 report. The question cites reporting instructions that call for one line per currency for cash, and one line per bank and currency for transferable deposits and…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document corrects the claim that dividend yield must converge to zero when a stock earns its required return. Under the constant-growth dividend discount model, dividends grow perpetually at a fixed rate below the required return. The stock price at any…

EquitiesStatisticsPortfolio construction
Quant Q&A

The document raises how to combine Kelly growth optimization with a desired level of portfolio variance for diversification. Its answer reports a matrix-algebra result: under the stated setup, the portfolio that maximizes the Sharpe ratio has the same…

Portfolio constructionRisk managementStatistics