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
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

20,364 documents

Quant Q&A

The document asks where to obtain historical implied volatility rank or percentile data for US equities. The questioner distinguishes those measures from an options data feed that provides implied volatility alongside historical realized volatility, and…

OptionsVolatilityUS markets
Quant Q&A

The discussion examines why fundamental equity risk models, such as Barra-style models, often assign securities a binary exposure to their country, industry, or world factors. A one-zero membership indicator is a simple way to define exposures and estimate…

EquitiesFactor investingStatisticsPortfolio construction
Quant Q&A

The document asks how to estimate the CEV model’s parameters, which determine the scale and price dependence of stock volatility, for simulations of CPPI and OBPI portfolio strategies. The answer recommends calibrating the model to vanilla equity or index…

OptionsEquitiesVolatilityDerivatives pricing
Quant Q&A

The discussion explains how bond DV01s measure each bond’s approximate price sensitivity to a one basis point move in its own yield, under a parallel shift assumption. Because the 5-year and 30-year bonds respond to different points on the yield curve, a…

Fixed incomeFuturesRisk managementPosition sizing
Quant Q&A

The discussion compares position sizing in proportion to inverse volatility with sizing in proportion to inverse variance. In a simple portfolio of normally distributed assets, inverse volatility sizing is associated with risk parity: it treats assets as…

Position sizingRisk managementPortfolio constructionVolatility
Quant Q&A

The document explains ways to identify a portfolio with zero beta when no risk-free asset exists. One practical approach begins with a portfolio of assets, estimates its beta by regressing its returns on market returns over a chosen horizon, then offsets the…

Portfolio constructionRisk managementStatistics
Quant Q&A

The document examines whether replacing the CAPM’s constant expected factor return with its realized time-varying return in time-series regressions creates an errors-in-variables problem that invalidates the GRS test. The proposed test runs asset-return…

Factor investingStatistics
Quant Q&A

The document shows how to derive the price of a 10-year zero-coupon bond from two 10-year coupon bonds with different coupon rates and known prices. The replication scales a long position in the lower-coupon bond and a short position in the higher-coupon…

Fixed incomeArbitragePortfolio construction
Quant Q&A

The document discusses whether brokerages offer web APIs for market data and order entry. It gives examples of a URL-based trading interface and reports that TD Ameritrade provided web APIs requiring an account, while noting that broker access varied. The…

ExecutionMarket microstructure
Quant Q&A

The document explains the distinction between clean (quoted) and dirty (cash) bond prices when specifying a bond option. Its answer emphasizes that over-the-counter contracts can define their strike and underlying price according to the parties’ chosen…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document presents an attempt to forecast VIX using a constant-mean GARCH(1,1) model fitted to daily log changes in the VIX. It shows a historical sample, a training cutoff, a multi-step forecast, and forecasted conditional variances across dates and…

VolatilityEquitiesBacktestingStatistics
Quant Q&A

The document compares geometric Brownian motion (GBM) with the Ornstein–Uhlenbeck (OU) process and presents them as parts of a broader diffusion model. In that framework, setting the mean-reversion coefficient to zero gives a non-mean-reverting process,…

StatisticsMean reversionMulti-asset
Quant Q&A

The document raises a measurement question about calculating Sharpe ratios from a vectorized backtest. Its example constructs a strategy-return series by retaining bar-to-bar log returns only between an entry and an exit, while recording zero returns outside…

BacktestingStatisticsRisk management
Quant Q&A

The document addresses how to summarize a sequence of trading gains and losses when positions occupy capital for different lengths of time. It recommends using the internal rate of return (IRR) on actual dollar cash flows rather than averaging return per…

StatisticsRisk managementPosition sizing
Quant Q&A

The document introduces the skew stickiness ratio (SSR) as a way to describe how at-the-money-forward implied volatility responds when the underlying asset moves. It uses this measure to distinguish two common smile-dynamics assumptions. Under sticky strike,…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document surveys ways to estimate how an option’s implied volatility may respond to a hypothetical market move, with portfolio risk simulation as the motivation. It describes modeling the joint behavior of forward at-the-money volatility and the first…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document frames portfolio construction as choosing weights across return series to maximize the Sharpe ratio, defined in the question as average portfolio return divided by its standard deviation. It provides a small sample return matrix and a CVXPY…

Portfolio constructionStatisticsRisk managementBacktesting
Quant Q&A

Reverse stress testing starts with an unacceptable outcome, such as a specified portfolio loss or capital shortfall, and works backward to find market scenarios that could produce it. When many combinations could reach the threshold, assumptions about how…

Risk managementStatisticsPortfolio constructionFixed income
Quant Q&A

The document explains why the Kelly criterion chooses a position size by maximizing expected logarithmic wealth growth rather than expected wealth or simple return. Because wealth compounds multiplicatively across repeated bets, log returns add across…

Position sizingRisk managementStatisticsPortfolio construction
Quant Q&A

The document explains an equivalence between a caplet paying a floating rate above a fixed strike and a put-style payoff on a zero-coupon bond. Its economic interpretation treats the caplet as the right to sell a one-period coupon bond with a predetermined…

OptionsFixed incomeDerivatives pricing
Quant Q&A

The document addresses how risk managers can respond when portfolio managers argue that tighter limits kept them from benefiting from rallies or rebounds. Its central recommendation is to agree with senior management on a clear mandate for each trader,…

Risk managementPortfolio construction
Quant Q&A

The document explains why a first principal component computed from asset returns may appear to represent the market with all-negative loadings and a strong negative correlation to a market index. This does not necessarily indicate a different economic…

StatisticsFactor investingEquities
Quant Q&A

The document outlines a probabilistic route from the Black–Scholes terminal-value problem for a European call to its familiar closed-form price. Feynman–Kac represents the solution as a discounted expected payoff under a diffusion. The derivation then…

OptionsDerivatives pricingStatistics