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
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 outlines a discounted cash flow approach for valuing a company’s equity from free cash flow to the firm. Its four-step process is to calculate the weighted average cost of capital, project next-period FCFF using a constant growth assumption,…

EquitiesFixed incomePortfolio constructionRisk management
Quant Q&A

The document asks how to combine univariate GARCH volatility models with a copula to estimate expected shortfall for a portfolio of three stocks. It considers whether to obtain conditional volatility by filtering observed returns through each fitted GARCH…

EquitiesVolatilityStatisticsRisk management
Quant Q&A

The document discusses stress testing for pension funds, asset managers, hedge funds, and other long-horizon investors. It distinguishes historical scenarios based on past crises, deterministic shocks to selected risk factors, and predictive scenarios built…

Risk managementPortfolio constructionStatistics
Quant Q&A

The document explains how to value a stock with a multistage dividend discount model using a financial calculator’s net present value function. The key is to place each projected dividend at the correct time and combine the constant-growth terminal value…

EquitiesPortfolio constructionStatistics
Quant Q&A

The document compares two R backtesting options: Quantstrat, which works with related portfolio and financial-instrument packages, and the Systematic Investor Toolbox (SIT). It does not provide a formal benchmark; instead, it collects user impressions about…

BacktestingPortfolio constructionPosition sizingExecution
Quant Q&A

The note explains how to choose volatility-surface inputs when calibrating a model for autocallable products. Its central recommendation is to calibrate one model to the autocalls held in the portfolio, reflecting that hedging is generally managed at…

OptionsVolatilityDerivatives pricingPortfolio construction
Quant Q&A

The document explains how to calculate beta for a portfolio invested in both the market portfolio and a risk-free asset under the Capital Asset Pricing Model (CAPM). CAPM describes expected asset return as the risk-free rate plus beta times the market risk…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document discusses why risk managers and portfolio managers may handle extreme return observations differently. Retaining genuine extremes gives a more conservative view of realized risk, while robust estimates that reduce their influence may better…

StatisticsRisk managementPortfolio constructionBacktesting
Quant Q&A

The document asks how to examine historical idiosyncratic volatility for individual stocks at daily frequency, without converting residuals to monthly observations or forecasting. The suggested approach is to estimate factor-model residual variance for each…

EquitiesVolatilityFactor investingStatistics
Quant Q&A

The document considers whether stock and bond histories can help extend the limited return records available for illiquid assets such as private equity, real estate, and hedge funds. It recommends first addressing serial correlation caused by appraisal…

Multi-assetRisk managementStatisticsPortfolio construction
Quant Q&A

The document contrasts two ways institutional investors seek to reduce portfolio tail risk. A direct hedge buys puts on the asset that drives much of the portfolio’s risk, making the premium an explicit cost when protection is not needed. A correlation-based…

OptionsRisk managementPortfolio constructionVolatility
Quant Q&A

The document asks how to measure a portfolio’s overall return when it receives contributions and withdrawals, without treating those cash flows as investment gains or losses. It mentions a unitization approach, in which the portfolio is represented by units…

Portfolio constructionStatistics
Quant Q&A

The document distinguishes two portfolio optimization tasks using a dataset of stock prices for 15 companies over one year. The investor first estimates average returns, annualized volatilities, and correlations, then finds weights that minimize variance…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document raises a conceptual question about why investors hold concentrated stock portfolios despite arguments for broad diversification. It cites research describing hedging motives and heterogeneous preferences as standard explanations, while also…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The discussion addresses a perceived conflict between positive net present value and the efficient frontier. It clarifies that the discount rate is not generally chosen as the realized return of a single alternative investment. One answer suggests using a…

StatisticsRisk managementPortfolio constructionFixed income
Quant Q&A

The note derives one possible way to attribute an index portfolio’s relationship with itself across its constituents. Starting with a weighted sum of asset returns, it expands the covariance of the portfolio with itself into weighted constituent covariances.…

Portfolio constructionStatisticsRisk management
Quant Q&A

The document discusses using Monte Carlo simulation to examine uncertain inputs in a financial model and the resulting range of business outcomes. Examples of inputs include product price, initial customer demand, growth, and market size; outputs include…

StatisticsRisk managementBacktestingPortfolio construction
Quant Q&A

The document explains how to assess a portfolio or return series against Fama–French risk factors. The main approach is a time-series regression of excess portfolio returns on factor returns, with the intercept interpreted as Jensen’s alpha: performance not…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document discusses Attilio Meucci's copula-marginal algorithm (CMA) and whether later research has extended it. The included answer characterizes CMA as a nonparametric, computationally efficient approach for combining marginal distributions with…

StatisticsPortfolio constructionRisk management
Quant Q&A

The document addresses how “orthogonal” is used when discussing alpha, risk sources, and portfolio factors. Its answer gives an intuitive interpretation: two return streams move independently, so one’s direction does not determine whether the other rises,…

Factor investingPortfolio constructionStatistics
Quant Q&A

The document examines how beta-weighted option deltas can express positions in different underlyings in index-equivalent terms for comparison or hedging. It corrects the idea that a beta of one means an asset has the same volatility as the index: beta…

OptionsPortfolio constructionRisk management
Quant Q&A

The document discusses a conditional diversification benefit measure built from a portfolio’s expected shortfall, its no-diversification upper bound, and a lower bound tied to value at risk. It compares findings from research on country indexes, where…

EquitiesPortfolio constructionRisk managementStatistics
Quant Q&A

The document raises a question about estimating betas for three real estate markets relative to a national market when each market has returns for different periods. It asks whether all beta estimates should use only the periods shared by every series, so…

StatisticsPortfolio construction