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 asks how unexpected loss is treated under Basel II and presents the advanced internal ratings-based framework’s expected-loss expression, correlation and maturity adjustments, capital requirement, and risk-weighted asset calculation. Its…

Fixed incomeRisk managementStatisticsDerivatives pricing
Quant Q&A

The discussion compares at-the-money payer swaptions with different expiry and underlying swap terms: one-year expiry on a ten-year swap and ten-year expiry on a one-year swap. It explains that expiry affects option value through volatility accumulated over…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document frames a valuation question about the equity component of a convertible bond under the Tsiveriotis–Fernandes approach. It distinguishes the cash component, which represents coupons and principal and is discounted at a risky rate, from the equity…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why an American call or put, with the other contract and market assumptions held fixed, is worth at least as much when its maturity is extended. The central argument is based on exercise flexibility: any stopping time available before…

OptionsDerivatives pricingStatistics
Quant Q&A

The document discusses the two-dimensional term structure of lognormal implied volatility for European swaptions, varying by option expiration and underlying swap tenor. It describes a typical pattern in which volatility may rise over the shortest…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a common Bloomberg approximation for the five-year inflation rate beginning five years ahead uses twice the 10-year zero-coupon inflation swap rate minus the 5-year rate. It contrasts that linear calculation with a compounded…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note discusses how to represent recovery for a bond whose promised solvent-state cash flows have fallen far below its original notional. It cautions against assuming that recovery should simply be a standard fraction of face value: distressed creditors…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The note explains how to translate option sensitivities into approximate dollar gains or losses for specified changes in the underlying price and implied volatility. It defines delta and vega as changes in option value for unit changes in their respective…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The document distinguishes constant-volatility geometric Brownian motion from a model in which returns have time-varying conditional volatility. It explains that a GARCH model is fitted to historical returns, typically by estimating its parameters, and then…

EquitiesVolatilityStatisticsDerivatives pricing
Quant Q&A

This note explains a negative-time pricing error when using a QuantLib zero curve to value a credit default swap. The cause is the curve’s first date: the example builds the curve from rates beginning one month after the evaluation date, so discounting or…

Fixed incomeDerivatives pricing
Quant Q&A

The note explains the theoretical replication of a variance swap using out-of-the-money options across strikes. Its fair variance is expressed as an integral of put prices below the forward and call prices above it, weighted inversely by squared strike.…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document distinguishes a process value, its increments, an ordinary time integral, and an integral with respect to process increments. It presents dX as notation for small changes in a process and cautions against treating it as an ordinary derivative…

StatisticsDerivatives pricingEquities
Quant Q&A

The document examines a three-strike call position: buying calls at the lower and higher strikes while selling two calls at the middle strike, all with the same expiration. It asks why the position can have a negative value at inception. The replies point to…

OptionsDerivatives pricing
Quant Q&A

The document asks how to choose bond positions that replicate the issuer exposures of an equally weighted CDS index. Its two-issuer example contrasts investing equal bond notionals, which produces unequal market-value weights when the bonds trade at…

Fixed incomePortfolio constructionDerivatives pricing
Quant Q&A

The document clarifies why finite-difference descriptions for option pricing may appear to reverse the usual pairing of explicit schemes with forward time differences and implicit schemes with backward differences. It explains that explicit and implicit…

OptionsDerivatives pricingStatistics
Quant Q&A

The document asks how to simulate a stochastic differential equation whose diffusion term depends on the current state as a power of the asset price. The question compares this process with geometric Brownian motion and attempts to derive a closed-form…

StatisticsDerivatives pricingBacktesting
Quant Q&A

The document describes how a swaption trader can move from an at-the-money implied volatility surface to prices for options struck away from the money. The answer says that desk models commonly add parameters for the volatility smile and skew: these capture…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The discussion explains why discount factors are often expected to fall as payment dates move further into the future. It frames discounting as valuing later cash flows through successive periods: if each period has a discount factor below one, multiplying…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document shows how to translate a terminal-value partial differential equation into a stochastic expectation using the Feynman–Kac formula. For the operator with diffusion coefficient proportional to the state, it identifies a geometric Brownian motion…

StatisticsDerivatives pricing
Quant Q&A

The document asks whether a LIBOR rate can be modeled like a stock price with geometric Brownian motion, then outlines concerns with that choice. One response argues that interest rates tend to exhibit stationarity, whereas Brownian motion does not, so the…

Fixed incomeDerivatives pricingVolatilityMean reversion
Quant Q&A

The document explains why two familiar closed-form geometric Brownian motion equations appear to differ. One subtracts half the variance from the exponent’s drift term; the other does not. They correspond to stochastic differential equations with different…

StatisticsDerivatives pricingRisk management
Quant Q&A

The document describes a numerical problem in recovering probability densities with the COS method. The author compares truncation intervals built from cumulants through orders two, four, and six, and reports that the resulting densities shift substantially…

OptionsDerivatives pricingStatistics
Quant Q&A

The note gives the Black–Scholes put-call parity relation for asset-or-nothing options. It expresses the asset-or-nothing put price as the prepaid underlying value less the corresponding call price, then substitutes the call pricing formula to obtain the put…

OptionsDerivatives pricing
Quant Q&A

The document derives the sensitivity of European option prices to the risk-free interest rate in the Black–Scholes model. Differentiating the call price and simplifying with the relationship between the normal density values at d1 and d2 produces call rho as…

OptionsDerivatives pricing