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

20,364 documents

Quant Q&A

The document describes simulations using the Gibbons–Ross–Shanken test to evaluate a CAPM-style model across multiple test portfolios. With returns generated under the model, the test does not reject the null; adding nonzero portfolio alphas leads to…

StatisticsFactor investingBacktesting
Quant Q&A

The document discusses why Yahoo Finance may report zero implied volatility for some in-the-money options, especially shortly after the market opens. It offers possible explanations rather than a confirmed account of Yahoo’s calculation: missing or unstable…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document resolves a question about replicating a European call in a zero-interest-rate market where the stock’s diffusion coefficient depends on its price. The key result is that the number of shares in the replicating portfolio is the option’s stock…

OptionsDerivatives pricingRisk management
Quant Q&A

The document explains why rising real yields make it more expensive for companies and consumers to borrow. A bond’s coupon divided by price is only a rough running-yield measure; for a zero-coupon bond, the price of a fixed future payment falls as its yield…

Fixed incomeRisk management
Quant Q&A

The document raises the problem of converting probabilities inferred from stock option prices under a risk-neutral measure into real-world, or physical, probabilities. Its only proposed method is the Recovery Theorem, named in a brief answer. No derivation,…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document explains how to estimate the probability that an underlying asset reaches an option strike before expiry. It distinguishes this first-passage event from the probability of finishing in the money, noting that option delta is not generally the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks whether a lender and an equity holder in a simplified collateralized loan obligation should value their claims using the same risk-neutral probability measure. The lender receives an agreed payment ahead of the borrower, who keeps the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion examines whether theta-to-gamma ratios can guide exits from short at-the-money options paired with long-tail options. It relates the ratio of cash theta to cash gamma to implied variance, and extends this relationship to a portfolio by…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document proposes combining annualized returns measured over several horizons with a weighted mean and weighted standard deviation. It illustrates assigning each horizon a weight that decays exponentially with its length, controlled by a chosen decay…

StatisticsPortfolio construction
Quant Q&A

The document asks how to compare daily five-day volatility estimates for two countries’ benchmark government bonds. Because both series use rolling windows, adjacent observations share most of their underlying price data and are serially dependent. Simply…

Fixed incomeVolatilityStatistics
Quant Q&A

The document addresses whether MATLAB’s one-dimensional interpolation function can produce cubic spline interpolations for yield curve data. The response says that the built-in spline method is suitable for interpolating sampled curve values and identifies…

Fixed incomeStatistics
Quant Q&A

The document explains the role of the underlying asset position in a variance swap replication strategy. A short variance swap can be hedged with a strip of options across strikes, often represented in practice by an at-the-money straddle together with…

OptionsVolatilityDerivatives pricingExecution
Quant Q&A

The document distinguishes the fair strike of a plain variance swap from the price of a variance swap whose realized variance is capped. A strip of vanilla options can be used to replicate the uncapped variance exposure under standard assumptions, so…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document surveys possible developments in quantitative finance that could gain wider use or appear in future textbooks. It describes machine learning as a newer tool applied to established tasks, including risk analysis, risk management, and algorithmic…

Machine learningFactor investingVolatilityPortfolio construction
Quant Q&A

The document discusses how to estimate execution slippage for a strategy trading many stocks with orders that are small relative to average daily volume. One proposed starting point is a cross-sectional regression using bid-ask spread and order size relative…

EquitiesExecutionMarket microstructureBacktesting
Quant Q&A

The document asks whether probabilities inferred from derivatives on non-traded variables, such as weather outcomes or central bank rate decisions, represent risk-neutral or real-world beliefs. The responses distinguish pricing measures from objective…

Derivatives pricingFuturesStatistics
Quant Q&A

The document examines an apparent performance bias in a simple rolling walk-forward backtest. It uses lagged indicators to predict next-day returns, fits a linear regression on each training window, and evaluates it on the adjacent test window. The accepted…

BacktestingTechnical indicatorsEquities
Quant Q&A

The document examines a stop-loss style strategy for replicating a call option and asks how its hedging costs relate to the time the underlying spends near the strike. The answer explains the call payoff using the Tanaka-Ito-Meyer decomposition: intrinsic…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document discusses how much decimal precision trading and portfolio software may need for equity prices and share quantities. It explains that quoting increments depend on the product and venue, and that rules governing displayed quotes do not…

EquitiesExecutionMarket microstructureUS markets
Quant Q&A

A Bermudan swaption allows exercise on multiple specified dates, giving it more exercise flexibility than a European swaption. The document notes that these products are actively traded rates volatility instruments and are used in callable bond structures: a…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document asks why a one-year Bitcoin futures contract can trade at a premium whose annualized rate exceeds a comparable government bond yield, despite standard cost-of-carry relationships. It considers whether demand for leveraged exposure may help…

CryptoFuturesCarryMomentum
Quant Q&A

The document raises a regression-design question: whether to exclude a covariate when it has substantially fewer observations than the other variables. The author gives an example in which one variable has 80,000 observations while others have 100,000, and…

StatisticsMachine learning
Quant Q&A

The document explains how to revalue a swaption one week after observing its implied volatility in a rates volatility cube. The option retains its underlying forward swap and strike, while its remaining expiry shortens. Its value at the later date is…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document addresses pricing European options on the ASX 200 index when dividends paid by constituent companies affect the index level. It reports that using a continuous dividend yield in Black–Scholes–Merton produced a price consistent with the observed…

OptionsFuturesDerivatives pricingEquities