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
WonderTrader
14 documents
Alphalens
14 documents
backtesting.py
11 documents
Technical Analysis
9 documents
QTPyLib
8 documents
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

10,263 documents

Quant Q&A

The document describes a bond-curve fitting problem using government bond cash flows, dirty prices, and the four-parameter Nelson–Siegel model. The questioner generates cash-flow schedules and year fractions, discounts those flows using model-implied zero…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains why a binomial tree used to approximate a short-rate model may assign equal probabilities to its up and down branches. In the described approach, the model first specifies short-rate dynamics under the pricing measure, including drift…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document derives an approximate mark-to-market value for a variance swap partway through its life. It splits total realized variance into the portion already observed and the expected variance over the remaining period, then weights each by its number of…

VolatilityDerivatives pricingOptionsRisk management
Quant Q&A

The document frames a model selection question for calculating option Greeks from a fitted volatility surface. It compares a local volatility model that matches the observed vanilla surface closely with a stochastic volatility model that may better represent…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why Vibrato Monte Carlo can estimate sensitivities when a derivative has a discontinuous payoff and full valuation under the model is difficult. It contrasts pathwise sensitivities, which require differentiating the payoff, with the…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks how to differentiate the risk-neutral value of a call option with respect to its strike. It starts from the discounted expected payoff and restricts the integral to terminal prices above the strike, then cites the familiar results: the…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares analytic approximations for American option exercise boundaries, including Kim’s integral equation and the Whaley approximation, with numerical PDE methods. It argues that PDE solvers can be preferable when pricing requires reliable…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains a theoretical way to create short exposure to a mutual fund through a total return swap (TRS). The fund manager would agree to exchange the return on a portion of the fund for a cash return, while moving the corresponding assets into…

Multi-assetDerivatives pricingRisk management
Quant Q&A

The document decodes a short market comment about a two-month Turkish lira put, describing an option with a five-delta level, a strike of 8, and a premium of 0.6%. In FX quoting terms, the position is a USD call and TRY put, with the strike expressed as…

ForexOptionsDerivatives pricing
Quant Q&A

The document contrasts the standard Black–Scholes pricing equation, which uses the risk-free rate r in both the underlying-price drift term and the option discount term, with a modified equation that uses a separate rate r′ to discount the payoff. It invokes…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document derives a European call price when the forward price follows a lognormal process with volatility that changes deterministically over time. The option expires at an earlier date than the forward's delivery date. Integrating the instantaneous…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The note considers how to mark correlation between two equities when there is no directly observable market quote, in the context of pricing an option whose value depends on that relationship. One proposed approach is to identify comparable equity pairs with…

OptionsDerivatives pricingStatistics
Quant Q&A

The note explains why a barrier option’s vega hedge may be relatively stable under simplifying assumptions. With a symmetric volatility smile and no jumps, a simple knock-out or knock-in option can have a static hedge, potentially needing only one…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains the fair delivery price of a forward contract on a non-dividend-paying asset. A forward with strike K pays the asset’s terminal value minus K at maturity. The same payoff can be replicated by holding the asset and borrowing the present…

Derivatives pricingFixed incomeStatistics
Quant Q&A

The document asks where to find vanilla call pricing formulas for affine stochastic volatility jump-diffusion models, including SVJ and SVJJ, and gives Heston’s characteristic-function approach as a comparison. It points readers to three academic sources…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why options on E-mini S&P 500 futures may show different implied volatility from options on the SPY ETF, despite both being linked to the S&P 500. The underlyings and contracts are not identical: they have different trading hours,…

OptionsFuturesVolatilityDerivatives pricing
Quant Q&A

The document examines why traders use Black–Scholes implied volatility even though the model’s assumptions do not describe markets perfectly. The responses distinguish implied volatility from a pure forecast of realized volatility: it is a market-derived…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document presents Dupire's local volatility formula in two forms: one using derivatives of vanilla call prices and another using the total implied variance surface. In the latter, log-forward moneyness is expressed as the logarithm of strike relative to…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a risk-neutral probability assigned to an event with positive real-world probability must be strictly positive in an arbitrage-free model. If a payoff in that event could be obtained for no cost, the buyer would receive a free…

ArbitrageDerivatives pricingStatistics
Quant Q&A

The document considers whether interest rate term-structure models can help produce hump-shaped implied volatility across option maturities. It observes a mathematical analogy: an interest rate curve can be expressed using expected future rates, while a…

OptionsVolatilityDerivatives pricingFixed income
Quant Q&A

The document explains why practitioners fit parameterized volatility surfaces, such as SVI, to sparse option-market observations. A market supplies implied volatilities at a finite set of strikes and expiries, rather than a continuous surface. Many…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document asks whether an SVI volatility surface should be calibrated to option prices or to implied volatility or total variance. The answer emphasizes that option prices are the market observations from which implied volatilities are derived, and that…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document examines how to obtain long-term leveraged exposure to a single stock with a stable leverage factor, no knock-out, and no fixed end date. Suggested structures include European factor certificates, bespoke total-return swaps or contracts for…

EquitiesDerivatives pricingRisk managementPosition sizing
Quant Q&A

The document outlines a way to estimate the funding component of a par-issued, fully funded structured note. First, value the embedded option and subtract that value from the issue price to infer the price allocated to the zero-coupon bond. Then convert that…

Fixed incomeOptionsDerivatives pricing