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 works through the net delta of a portfolio containing long calls, long puts, and short calls with different strikes and expiries. It explains that each option’s delta must be calculated for its own terms, then multiplied by the position size and…

OptionsDerivatives pricingRisk managementPortfolio construction
Quant Q&A

The document considers how to incorporate market capitalization into a portfolio built with hierarchical risk parity (HRP). Its response distinguishes three approaches: risk contribution methods use volatility and correlation to allocate portfolio risk;…

Portfolio constructionEquitiesRisk management
Quant Q&A

The document explains why an example of portfolio diversification does not contradict the general result that Value at Risk (VaR) can fail subadditivity. In the cited stock example, the combined portfolio’s VaR is below the sum of the individual VaRs,…

Risk managementStatisticsPortfolio construction
Quant Q&A

The note explains why an investor might hold an efficient portfolio. By definition, an efficient portfolio offers the highest available return for its level of risk, or equivalently the best risk and return combination within its class. Its appeal follows…

Portfolio constructionRisk management
Quant Q&A

The note gives a practical use of singular value decomposition in quantitative finance: diagnosing a square matrix that cannot be factorized by Cholesky because it is not positive definite. SVD can help assess whether the matrix can be adjusted to become…

StatisticsPortfolio construction
Quant Q&A

The document defines DV01 as the change in a fixed-income portfolio’s value for a one-basis-point change in interest rates. Active DV01 describes that sensitivity relative to a benchmark. A negative active DV01 of the stated size means the portfolio is…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document proposes a practical framework for combining analyst return paths when their errors share information, change with market conditions, and may include useful contrarian views. It starts from forecast-error covariance: under quadratic loss,…

Multi-assetMachine learningStatisticsPortfolio construction
Quant Q&A

The note introduces the inverse-volatility portfolio (IVP) as a heuristic allocation that assigns more weight to lower-volatility assets. It contrasts this approach with equal weighting and Markowitz mean-variance methods, which require covariance estimation…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document outlines a basic way to use a hidden Markov model (HMM) in portfolio allocation. The model estimates latent market states, asset drifts, and state-specific covariance matrices. For each state, the estimated return and risk inputs can then be…

Machine learningPortfolio constructionStatistics
Quant Q&A

The document explains a proposed way to divide non-maturity deposits into core and non-core balances for interest rate risk modeling. It distinguishes stable balances, which tend to remain on account, from core balances, which are also unlikely to reprice…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document addresses a misconception about parametric value at risk: that a parametric model necessarily assumes portfolio assets are independent and therefore uncorrelated. Parametric describes a model built around parameters governing a joint probability…

Risk managementStatisticsPortfolio construction
Quant Q&A

The document asks how copulas connect known marginal distributions to a joint distribution when random variables are dependent. It identifies the joint cumulative distribution as distinct from the product of the marginals, which applies only under…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document explores how behavioral assumptions about perceived correlations affect mean-variance portfolio optimization. It compares a model that modifies the covariance matrix using parameters for correlation neglect with an alternative that represents…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document derives the correlation between an asset and a weighted portfolio from constituent weights, volatilities, and pairwise correlations. The covariance between the asset and portfolio is the weighted sum of its covariances with each constituent.…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document raises a portfolio construction question about weighting common shares by market value when a company also has publicly traded preferred shares. The data source reports separate market values for common and preferred stock, and the investor…

EquitiesPortfolio construction
Quant Q&A

The document surveys competing views on using genetic algorithms (GAs) to find financial trading rules or construct portfolios. The main concern is that searching many combinations can produce rules that fit historical data by chance, with data snooping and…

Machine learningBacktestingEquitiesPortfolio construction
Quant Q&A

The document discusses how to compare a trading account with market indices when the account receives deposits or makes withdrawals. Its main procedure assumes cash flows are recorded in the closing balance after that day’s trading. It removes that day’s…

Risk managementStatisticsPortfolio construction
Quant Q&A

The discussion compares high-beta and low-beta equity portfolios and asks how to judge their risk-adjusted performance. Under CAPM assumptions, an investor can combine the market portfolio with borrowing or lending at the risk-free rate to reach a preferred…

EquitiesPortfolio constructionRisk managementBacktesting
Quant Q&A

The document gives a Bloomberg Terminal workflow for viewing historical sector weights of an index, using the S&P 500 as its example. It directs users to the index membership function to see constituents, then to the Historical Summary tab, where a chart…

EquitiesUS marketsPortfolio construction
Quant Q&A

The document explains how to combine the interest-rate sensitivity of discounted insurance claims and recoveries. It treats the cashflows as a portfolio and uses value-weighted durations, with recoveries represented by a negative value. The resulting net…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document explains why researchers may analyze a fundamental factor by forming portfolios from equities at the high and low ends of its values, rather than regressing returns directly on raw factor values across the whole universe. These groups can reveal…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The document explains why a portfolio’s residual return is uncorrelated with the market return when beta is estimated by ordinary least squares on the same return observations. It writes portfolio returns as an intercept, a market component, and a residual,…

StatisticsPortfolio construction
Quant Q&A

The document distinguishes exact and approximate factor models by the structure allowed for residual covariance. In an exact factor model, the residual covariance matrix is diagonal, so residual movements are uncorrelated across assets. In an approximate…

EquitiesFactor investingPortfolio constructionStatistics
Quant Q&A

The discussion presents ways to generate covariance matrices while controlling variance levels. One standard construction separates scale from dependence: place desired standard deviations on a diagonal matrix and combine it with a valid correlation matrix…

StatisticsPortfolio constructionRisk management