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 clarifies a call option example in which a long call is hedged by shorting a quantity of the underlying stock. At expiration, the call is worth its intrinsic value, while the short stock position is valued using the ending share price. That…

OptionsRisk managementDerivatives pricing
Quant Q&A

The document compares overnight indexed swaps (OIS) with conventional interest rate swaps. Both exchange fixed and floating payments, but the floating leg is constructed differently. A conventional swap generally uses a single term-rate fixing for each…

Fixed incomeDerivatives pricing
Quant Q&A

The document outlines ways to allocate swaption bid-offer liquidity costs across SABR parameters. With beta held fixed, alpha represents the at-the-money volatility level, nu captures smile curvature, and rho captures skew. First estimate how the option…

OptionsFixed incomeVolatilityRisk management
Quant Q&A

The answer frames the claim as a European payoff based on the cube of the stock price at maturity. It invokes risk-neutral discounted expected payoff, then applies Itô’s lemma to the cubed stock process. This produces a process with a transformed drift and…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion distinguishes historical calibration with the Generalized Method of Moments (GMM) from calibrating a model to market option prices. It presents GMM as a way to estimate models from historical observations, which may support forecasting asset…

StatisticsOptionsDerivatives pricing
Quant Q&A

The document explains why the Black–Scholes framework models proportional price changes as a geometric Brownian motion, which implies lognormally distributed, positive prices. The underlying assumption is that returns depend on the current price and random…

EquitiesOptionsStatisticsDerivatives pricing
Quant Q&A

The discussion addresses two practical inputs to equity option pricing: historical volatility and interest and dividend rates. It says there is no universally established industry standard for historical-volatility estimation, and recommends a consistent,…

OptionsVolatilityStatisticsDerivatives pricing
Quant Q&A

The document distinguishes forward and futures prices and explains why their drift depends on the probability measure used. Under the risk-neutral measure associated with the relevant numeraire, each price is a conditional expectation and has martingale…

CommoditiesFuturesDerivatives pricingRisk management
Quant Q&A

The document asks whether an option’s value can be simulated directly from an SDE whose drift and volatility depend only on the option value and time. Applying Ito’s lemma to an option value expressed as a function of the underlying and time produces an SDE…

OptionsDerivatives pricingStatistics
Quant Q&A

The document addresses the difficulty of obtaining historical data for volatility and variance swaps. The responses say that public historical bid and ask prices are generally unavailable, so researchers seeking exact market quotes may need to approach a…

OptionsVolatilityDerivatives pricingMarket microstructure
Quant Q&A

The document explores why very long maturity interest rates can fall below rates at somewhat shorter maturities. Its answers emphasize convexity: longer bonds and forward-starting swaps generally have greater convexity, so their values respond more strongly…

Fixed incomeDerivatives pricingVolatilityMarket microstructure
Quant Q&A

The document raises a practical calibration problem for the Heston stochastic volatility model. The author fits the model in Matlab using Monte Carlo simulations, with 5,000 paths, two time steps per day, and a 360-day horizon. Calibration with the…

OptionsVolatilityDerivatives pricingMachine learning
Quant Q&A

The document asks how to infer spot rates at several maturities from three coupon bonds, and how to derive a forward rate from those spot rates. Its central lesson is that a bond’s yield or accrued interest alone does not identify the spot rate for its…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines whether a one-step binomial option model can be used when the risk-free return does not lie between the asset’s down and up returns. It explains that this condition is tied to the absence of arbitrage and to obtaining a valid…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document describes a QuantLib-Python issue encountered when changing a historical fixing that has already been added to a floating-rate index. Adding the same date again raises a duplicate-fixing error. Although the underlying API has a force-overwrite…

Fixed incomeDerivatives pricingExecution
Quant Q&A

The document corrects a proposed equivalence between a long stock position with a written covered call and a short put struck at a lower price after subtracting the call premium. It explains that put-call parity instead relates the stock, call, discounted…

OptionsEquitiesDerivatives pricingArbitrage
Quant Q&A

The document clarifies that gamma is a property of a position or portfolio, not a quantity that can be rebalanced by trading the underlying alone. Gamma measures how a position’s delta changes as the underlying price moves. A gamma hedge adjusts option…

OptionsDerivatives pricingRisk management
Quant Q&A

The document explains why reading a single SOFR fixing at a coupon date does not reproduce the rate paid on a compounded-in-arrears SOFR bond. A floating-rate coupon based on term rates uses one fixing near the period start, while an overnight SOFR coupon…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

This explanation fills in algebraic steps from Pat Hagan's convexity analysis under a lognormal model for a rate variable. It derives the expected squared deviation by expanding the expression and applying the normal exponential moment, yielding a…

Fixed incomeDerivatives pricingOptions
Quant Q&A

This note explains why QuantLib may reject clean-price calculations for a zero-coupon bond when the settlement date falls after maturity. The library models the bond as no longer tradable on that settlement date, even though a holder immediately before…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how downward jumps affect a vanilla call’s price relative to a Black-Scholes call when the assets are described as having the same volatility but different drifts. The supplied answer sketches a comparison portfolio: short the Black-Scholes…

OptionsDerivatives pricingArbitrageRisk management
Quant Q&A

The document addresses a question about replicating a call option on a six-month zero-coupon bond, with the option expiring in six months. The questioner identifies the bond at the option’s expiry as the underlying and asks why the replication equation also…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document derives the survival probability between two credit-curve nodes by linearly interpolating the logarithms of the endpoint probabilities. Since each node’s log survival probability equals minus its time multiplied by its cumulative hazard,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses the derivation of an option pricing equation for a stock with stochastic volatility. It asks what can serve as a second asset for hedging volatility exposure and how the volatility risk premium relates to the familiar Black–Scholes…

OptionsVolatilityDerivatives pricing