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

12,303 documents

Quant Q&A

The document considers why an investor holding long-dated calls might also buy deep out-of-the-money puts with shorter expirations. Such puts can provide convex protection in a sharp decline: their delta and gamma may increase as the underlying falls, while…

OptionsRisk managementVolatility
Quant Q&A

The document poses a question about the conditional expectation of stock returns in a model with a return driver, a volatility term, and an ARCH(1) variance process. The innovation is written as conditional volatility multiplied by a standard normal shock.…

StatisticsVolatilityEquities
Quant Q&A

The document discusses simulating returns without assuming a fixed unconditional distribution. It warns that financial returns have time-varying conditional moments, especially persistent volatility clustering, so resampling the unconditional return…

StatisticsVolatilityMachine learningBacktesting
Quant Q&A

The document presents code intended to simulate a GARCH(1,1) process. It updates conditional variance using a constant plus a coefficient on the previous squared return and another on the previous variance, then multiplies the resulting volatility by a…

StatisticsVolatilityBacktesting
Quant Q&A

The answer argues that implied volatility need not be extracted only from the Black–Scholes lognormal model. It describes constructing option valuation formulas under alternative distributions, including log-hyperbolic-secant, log-Cauchy, log-t, and…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The discussion explains why a normal random-walk increment over a time step of length t/n is scaled by the square root of t/n. Each increment can be written as a standard normal random variable multiplied by that scale, so its variance is t/n. For…

StatisticsVolatility
Quant Q&A

The question concerns a chart that overlays exchange-rate log differences with a conditional volatility series and observes that the latter is much smaller, despite similar-looking peaks in other examples. The response emphasizes that log returns and…

ForexVolatilityStatistics
Quant Q&A

The discussion distinguishes the role of two conditions used when building a trinomial pricing tree. The conditional expected stock price is set to grow at the risk-free rate under the tree’s transition probabilities. This is the no-arbitrage condition: it…

Derivatives pricingVolatilityStatistics
Quant Q&A

The discussion explains why Black–Scholes remains useful even though it cannot establish a uniquely fair option price. Its broader contribution is the dynamic hedging framework: under suitable assumptions, an option payoff can be replicated by adjusting…

OptionsDerivatives pricingVolatilityMarket microstructure
Quant Q&A

The document explains a volatility innovation as the part of future volatility that was not captured by the forecast made with currently available information. If realized volatility differs from its prediction, that forecast error is the innovation. In…

VolatilityStatisticsEquities
Quant Q&A

The answer explains that the Black–Scholes formula follows from the terminal-price distribution of a geometric Brownian motion (GBM). A Monte Carlo method simulates terminal prices under that process, applies the option payoff, averages the payoffs, and…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains why an option skew measure based on volatility differences divided by log-strike distance, with a square-root-of-maturity adjustment, can remain similar across listed expiries. The key comparison uses strikes set at a fixed number of…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks why historical return quantiles can be used for Value-at-Risk when returns are dependent, as in ARCH-type models. The response clarifies that dependence among returns does not prevent modeling their marginal distribution: volatility models…

StatisticsVolatilityRisk managementBacktesting
Quant Q&A

The document considers whether options can reveal volatility over a specific upcoming interval, such as a trading day containing a scheduled central-bank announcement. It notes that implied volatility is only directly observable for horizons with liquid…

OptionsVolatilityDerivatives pricing
Quant Q&A

Co-terminal, or diagonal, swaptions share a common final maturity while their expiries step forward and their underlying swap tenors shorten. The document illustrates the structure with a callable bond that can be redeemed at regular intervals before…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The question derives daily log returns under geometric Brownian motion and estimates their sample variance from a month of stock prices. Since the variance of a return over a daily interval is the annual variance scaled by the length of that interval, the…

EquitiesOptionsVolatilityStatistics
Quant Q&A

The document asks how to choose a moving-average smoothing parameter without relying only on strategy optimization, then presents an example for an exponentially weighted moving average (EWMA) volatility estimate. In the described approach, returns are…

VolatilityStatisticsRisk management
Quant Q&A

The discussion compares two ways to express the profit and loss of a long delta-hedged option when realized volatility exceeds implied volatility: marking the option using realized volatility, or retaining the implied-volatility mark and allowing…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to obtain Black-Scholes implied volatility from a model’s characteristic function using an integral relation attributed to Gatheral’s treatment of Lewis inversion. It focuses on the contour used to value a covered call, why the payoff…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The note explains why a short position’s compounded return can differ in magnitude from a long position’s return, even though the profit and loss on a matched long and short exposure are equal and opposite. It distinguishes a simple short in a future from a…

FuturesVolatilityDerivatives pricingRisk management
Quant Q&A

This note compares sensitivity methods for discrete Asian options when the underlying follows geometric Brownian motion. A geometric-average Asian option has an analytic price under Black–Scholes assumptions, allowing Greeks to be obtained from the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document considers how to estimate an implied volatility surface for an asset that has spot data but no options market. It outlines several practical approaches: estimate realized volatility with a model such as GARCH and add a chosen risk premium; scale…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers how to decompose the forward-looking yield of an index of agency fixed-rate residential mortgage-backed securities. The proposed framework adds a duration-matched Treasury yield, the option-adjusted spread, and an adjustment intended…

Fixed incomeVolatilityRisk management
Quant Q&A

The document clarifies that negative variance values can arise from numerical discretization even though the continuous-time Heston variance process does not become negative. Flooring values, taking absolute values, or otherwise altering simulated variance…

OptionsVolatilityDerivatives pricingStatistics