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

10,263 documents

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

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 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
Quant Q&A

The discussion explains how a contract combining one touch barrier with one no-touch barrier can pay, using upper and lower barriers as an example. A one-touch feature generally triggers a payout when its barrier is reached, while a no-touch feature can…

OptionsDerivatives pricing
Quant Q&A

The document explains how prices of European receiver swaptions relate to the risk-neutral distribution of the underlying swap rate. It corrects the idea that an out-of-the-money premium, compared directly with an at-the-money premium, gives the probability…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document outlines maximum-likelihood estimation for a GARCH(1,1)-M return model under the physical measure, then discusses an implementation problem in an R optimizer. The model specifies conditional returns using a known risk-free rate, an estimated…

StatisticsVolatilityOptionsDerivatives pricing
Quant Q&A

The document poses a one-period binomial market problem with a risk-free asset and a stock that can finish in either an up or down state. It asks how to establish no arbitrage, replicate a claim whose payoff is the squared terminal stock price, calculate the…

Derivatives pricingArbitrageStatistics
Quant Q&A

The document asks whether adding a derivative that depends on an otherwise unspanned source of risk makes an incomplete market complete. It sets up a continuous-time market with fewer traded risky assets than Brownian risk sources, including an example where…

Derivatives pricingRisk managementStatisticsPortfolio construction
Quant Q&A

The document asks how to translate a 90-day SOFR market rate into a comparable three-month LIBOR rate. It highlights a key timing distinction: SOFR for the accrual period is compounded in arrears, so the realized period rate is not known until the period…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document distinguishes implied volatility from historical volatility. Implied volatility is the volatility parameter that makes an option pricing model reproduce the market price of an option; it is inferred from current prices rather than calculated…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document asks whether a one-period market is arbitrage-free whenever the asset’s log return has a continuous distribution over the real line, and whether such a distribution guarantees a martingale measure. The motivating comparison is with a…

StatisticsRisk managementDerivatives pricing
Quant Q&A

The explanation links negative correlation between an asset’s spot price and its instantaneous volatility to a downward implied-volatility skew. It contrasts the result with the standard Black–Scholes assumption of constant volatility, under which…

OptionsVolatilityDerivatives pricing
Quant Q&A

The note explains a discrepancy between manually interpolated annual-compounded zero rates and rates returned between curve pillars by QuantLib. The key point is that the curve interpolates continuously compounded zero rates, even when its configured…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The answer uses the martingale concept to explain why, under a simplified random-walk model, an increase in portfolio wealth has the same expected value at a later time. A martingale is defined by the condition that the conditional expectation of a future…

StatisticsEquitiesDerivatives pricing
Quant Q&A

The discussion explains why an index does not itself have a single gamma position and how market commentary may instead estimate the aggregate gamma exposure of option dealers. A simplified calculation assigns dealers the opposite side of customer put and…

OptionsDerivatives pricingMarket microstructure