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 document outlines a practical way to consolidate risk measures for a multi-market options portfolio. Its central recommendation is to separate security-level risk calculations from products and reports: calculate exposures in a shared system, store…

OptionsMulti-assetRisk managementPortfolio construction
Quant Q&A

The document explains what delta hedging removes and why it does not turn every option into a pure volatility trade. Under a diffusion assumption, a delta-hedged European option’s profit and loss depends on the difference between realized and implied…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document compares proposed risk-free rates for discounting options, including government bond yields, overnight index swap rates, and fixed assumed rates. For collateralized trades, the practitioner answer recommends discounting with the rate on the…

OptionsDerivatives pricingFixed incomeForex
Quant Q&A

This note explains why the call price as a function of log strike is not square integrable: as strike approaches zero, the call price approaches a nonzero discounted forward value. Because its squared value then fails to have a finite integral over the real…

OptionsDerivatives pricingStatistics
Quant Q&A

The document explains why derivative pricing uses risk-neutral measures even though real investors are risk-averse. It presents the fundamental theorem of asset pricing: under the relevant framework, absence of arbitrage is equivalent to the existence of an…

Derivatives pricingStatisticsOptions
Quant Q&A

The document derives the value of a compound option: the right to buy a European call at a future exercise date for a price fixed today. Under Black–Scholes assumptions, it first identifies the underlying stock level at the exercise date where the future…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document addresses a misleadingly phrased claim that implied volatility falls when options markets rise and increases when they decline. The response says the intended reference is to the underlying stock market: historically, stock advances have tended…

OptionsVolatilityEquities
Quant Q&A

The document discusses option pricing in a stochastic volatility model, where volatility itself follows a diffusion process correlated with the underlying asset. It outlines hedging an option with the underlying and a second option to remove sources of risk,…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document raises a question about the effect of stock borrowing costs on option valuation when a trader holds a short stock hedge. The cited explanation says that borrow costs act like a reduction in the effective interest rate: they lower the forward…

OptionsDerivatives pricingEquities
Quant Q&A

The document explains how to value a call option that cannot be exercised during an initial period but becomes exercisable afterward. Its central point is that the tree switches to exercise-versus-continuation comparisons only at nodes where early exercise…

OptionsDerivatives pricing
Quant Q&A

The document asks how often equity derivatives desks update implied volatility surfaces and recalibrate local volatility for exotic option pricing and risk management. It highlights a practical trade-off: refreshing calibrations more often can reflect new…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document describes ways to attribute an option's profit and loss when its value depends on a changing implied volatility surface. A first-order approach calculates bucketed vegas at surface points and multiplies each sensitivity by the corresponding…

OptionsVolatilityRisk managementStatistics
Quant Q&A

The document explains shadow delta as the part of an option's spot sensitivity that arises because implied volatility changes when the underlying price moves. Total delta can be separated into the ordinary delta calculated while holding volatility constant…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to calculate parametric value at risk for a portfolio containing a stock and an option written on that stock. It proposes applying a covariance-based portfolio formula to stock and option weights, then questions whether that approach is…

OptionsEquitiesRisk management
Quant Q&A

This explanation distinguishes two meanings of convexity that arise in fixed-income markets. Bond convexity describes the nonlinear relationship between a conventional bond’s price and its yield. For a non-callable bond without other embedded options, the…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

This note proposes an alternative to numerically differentiating call prices twice to recover an option-implied probability density. The standard relationship mentioned connects the second strike derivative of a call price with the discounted density of the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document addresses pricing American-style foreign exchange options in QuantLib when both domestic and foreign interest rates matter. The accepted answer explains that a Garman–Kohlhagen process, which incorporates both currency yield curves, can be…

OptionsForexDerivatives pricingVolatility
Quant Q&A

The document explains the role of Arrow-Debreu prices in a one-step extension of the Derman-Kani implied tree. An Arrow-Debreu price is the current value of a claim that pays one unit in a particular tree node and nothing in the others. It equals the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document distinguishes futures-style options on futures from traditional options on futures to explain when discounting applies. In the futures-style contract, gains and losses are settled through variation margin, so the option itself behaves like a…

FuturesOptionsDerivatives pricing
Quant Q&A

The discussion addresses an irregular point in an interpolated American option volatility smile that produces an implausible negative risk-neutral density. The explanation focuses on numerical pricing methods for American options, such as binomial or…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document works through the Itô expansion for an option whose value depends on two asset prices and time. It identifies the second-order terms for each asset and the mixed partial derivative, which accounts for covariance between the assets’ Brownian…

OptionsDerivatives pricingStatistics
Quant Q&A

The document shows how to replicate a piecewise derivative payoff that pays a fixed amount below one strike, declines linearly over an intermediate price range, and reaches zero above a higher level. Its terminal payoff is decomposed into a fixed cash…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document addresses which probability measure applies to the Heston option-pricing equation and how its variance-process parameters change between the physical measure and the risk-neutral measure. It shows that the variance drift can be rewritten in…

OptionsVolatilityDerivatives pricing