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

8,116 documents

Quant Q&A

The discussion examines why 90-day realized volatility estimates for JPM and the S&P 500 diverged during August 2011, and whether that divergence could inform options trades or volatility forecasts. It attributes the difference partly to the assets’ prior…

EquitiesOptionsVolatilityStatistics
Quant Q&A

The note explains how to align stock prices and option strikes when calculating moneyness from stock and option datasets. The necessary treatment depends on whether the stock prices are raw or already adjusted. It distinguishes cash dividends from splits and…

OptionsEquitiesDerivatives pricing
Quant Q&A

The discussion considers why financial models often use normally distributed returns despite the observed frequency of unusually large moves. It focuses on the trade-off between tractable pricing formulas and representing return tails more realistically. The…

OptionsStatisticsDerivatives pricingVolatility
Quant Q&A

The document asks how to price single-barrier options with a binomial tree and whether the resulting prices converge to Black–Scholes values. The response cautions that tree methods can handle barriers poorly because tree nodes usually do not line up with…

OptionsDerivatives pricingStatistics
Quant Q&A

The document attempts to derive the European put price by discounting its terminal payoff under a risk neutral measure. It models the underlying as a geometric Brownian motion with constant interest rate and volatility, then separates the payoff into a…

OptionsDerivatives pricingStatistics
Quant Q&A

The document outlines an approximate way to cover the cash flows of a fixed coupon Bermudan callable bond using a fixed rate bond and a Bermudan payer swaption. The proposed portfolio holds both instruments. If the callable bond remains outstanding, the…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

This discussion explains why accurate models for American options matter even when some contracts have exchange quotes. Listed markets cover only selected underlyings, strikes, and maturities, so a model helps estimate values and hedge positions, commonly…

OptionsDerivatives pricingRisk management
Quant Q&A

The payoff is the positive part of the stock-price change between the midpoint of the contract period and maturity. The question proposes factoring out the midpoint stock price and treating it as a numeraire, then applying a Black–Scholes call formula to the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses estimating exotic option Greeks by bumping model inputs and repricing in Monte Carlo, with central differences preferred for many sensitivities. The question is whether bumps expressed as percentages of spot or volatility are…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The note explains why the Black-Scholes option pricing equation does not depend on the stock’s expected return. Delta hedging combines an option position with the underlying asset to remove instantaneous exposure to stock-price movements. In the model, the…

Derivatives pricingOptionsRisk managementStatistics
Quant Q&A

The answers explain why autocallable notes are difficult to hedge with a static set of delta, gamma, and vega offsets. Their sensitivities can change sharply near coupon, autocall, and knock-in barriers, while volatility and dividend exposures shift across…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The answer gives an example of an option whose value can fall as its time to expiry increases: a cash-or-nothing digital put, which pays a fixed amount if the underlying finishes below its strike. Under the simplifying assumptions of zero interest rates and…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks whether option maturity should determine the time-step size when pricing with Monte Carlo under the Heston stochastic-volatility model, including whether longer-dated options or steps that grow toward maturity can use coarser grids. It…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document explains why a single straddle can be a starting point for hedging a volatility swap but is generally insufficient once realized volatility evolves. A more robust replication approach uses a strip of options that is continuously rebalanced. The…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

For a long call initially hedged to delta neutrality, the hedge is typically a short stock position because the call has positive delta. If the stock price falls, the call’s delta usually falls as well, leaving the trader short more shares than needed for…

OptionsEquitiesDerivatives pricingRisk management
Quant Q&A

The document explains the hardcoded coefficients in a script that estimates the chance a stock will finish above or below an option strike. The script scales annual volatility by the square root of time to expiry, compares the strike with the underlying…

OptionsDerivatives pricingStatistics
Quant Q&A

The document addresses how to implement finance calculations that use complex intermediates, including real and imaginary components and Fourier transforms, when the final pricing result is real. It compares R and C++ and notes that both support…

Derivatives pricingOptions
Quant Q&A

The document addresses why a derivative term in the Barone-Adesi–Whaley American option approximation is omitted as expiry approaches. It defines the early exercise premium as the difference between American and European option values, then rewrites that…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether an underlying’s historical beta relative to an index can be used to estimate its options’ implied volatility from the index’s implied volatility. The response distinguishes beta, which reflects historical co-movement and volatility…

OptionsVolatilityStatistics
Quant Q&A

The document presents an exam-style question about protecting a diversified portfolio that tracks the S&P 500 against a loss beyond a specified threshold. It describes a put-based hedge and an alternative replication using European calls, then asks how much…

EquitiesOptionsRisk managementPosition sizing
Quant Q&A

The document discusses how to calibrate a Dupire local volatility model to European vanilla options. Market prices are the calibration targets; for strikes and maturities without quoted prices, the answer says there is no generally useful analytic pricing…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

An option is at the money when the underlying price equals its strike. A regular option can move into and out of this state repeatedly during its life, so touching the strike is a temporary price event rather than a lasting status. This clarifies the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks whether SPX options with expirations beyond two years trade actively enough to support volatility-surface calibration. It notes that Bloomberg displays SPX volatility values out to five years and contrasts quoted bid-ask spreads for…

OptionsVolatilityDerivatives pricingUS markets
Quant Q&A

The document explains how to price a call when the underlying follows a shifted version of a Heston process. Its central method is to change coordinates so the shifted asset behaves like an ordinary Heston underlying, then adjust the option’s spot and strike…

OptionsDerivatives pricingVolatility