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
Binance API docs
45 documents
Quantopian lectures
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 discusses how to price an equity forward on a dividend-paying stock and why the textbook formula’s single risk-free rate can be ambiguous in practice. One response uses maturity-matched equity repo rates to grow the stock value and discount…

EquitiesDerivatives pricingFutures
Quant Q&A

The document discusses the possible outcomes of selling an out-of-the-money European call while delta hedging with the underlying stock. It contrasts a gradual rise toward the strike, where the call may expire worthless and the hedge can gain value, with a…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The document compares historical simulation, variance–covariance estimation, and Monte Carlo simulation for calculating Value at Risk. Historical simulation revalues a portfolio against past market moves, avoiding an explicit return-distribution assumption,…

Risk managementStatisticsVolatilityDerivatives pricing
Quant Q&A

The document examines what changes in portfolio holdings mean in the differential expression for a portfolio containing a risky asset and a money market account. Expanding the portfolio value at two nearby times produces terms for price changes, holding…

Derivatives pricingStatisticsRisk management
Quant Q&A

The document outlines how to compare models used to price European, American, and exotic options, including the accuracy of prices and hedging Greeks. For options included in calibration, calibration error is a direct comparison; for other products or uses,…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The question asks how to mark a total return swap on a single Treasury bond during its life, separating the bond performance leg, accrued coupon interest, and funding leg. It also asks whether the funding leg should use the full swap notional or the bond’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document compares a binomial tree price for a European call with a much lower estimate from a Monte Carlo implementation. The key diagnostic is the simulated stock process: the original code builds paths with time points and Brownian increments that do…

OptionsDerivatives pricingStatistics
Quant Q&A

The discussion explains how a USD/JPY cross-currency basis swap’s par spread responds when the USD OIS curve moves. The result depends on which curves are held fixed and how the basis curve is treated. If USD OIS, USD and JPY projection curves, and the…

Fixed incomeDerivatives pricingForex
Quant Q&A

The document asks how to translate boundary conditions for a European call option into boundary conditions for the heat equation obtained by transforming the Black–Scholes partial differential equation. It states the call’s terminal payoff, the zero-price…

OptionsDerivatives pricingStatistics
Quant Q&A

The document compares calibrating SABR models at quoted tenors and interpolating their parameters with using a stochastic volatility LIBOR Market Model. The proposed interpolation approach can produce smiles at intermediate maturities from sparse market…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document derives the Itô differential of squared Brownian motion, obtaining a stochastic term and a time correction from the quadratic variation. Integrating that identity relates the squared process to an Itô integral and elapsed time. This illustrates…

StatisticsDerivatives pricing
Quant Q&A

The discussion offers an intuitive explanation for why a deep in-the-money European put can retain positive vega, even when the underlying stock price is near zero. Its value includes time value as well as intrinsic value, and that remaining time value can…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion considers how to adapt an equity Black–Scholes Monte Carlo framework, built around product definitions and simulation timelines, to price interest-rate swaptions. The suggested shortcut is to represent the underlying swap rate as a…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks why exotic options are especially common in foreign exchange markets compared with equities, bonds, and other assets. The responses offer several possible explanations rather than a single demonstrated cause. FX derivatives often hedge real…

ForexOptionsDerivatives pricing
Quant Q&A

The document compares simulating an asset price directly with simulating its logarithm under geometric Brownian motion. Applying Itô’s lemma gives log price a constant drift adjusted downward by half the variance and a volatility-scaled Wiener process. The…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

The document applies Ito’s lemma to the cube root of a stock price modeled in a Black–Scholes market. Differentiating the transformation and substituting the stock’s drift and volatility into Ito’s formula gives a stochastic differential equation for the…

StatisticsDerivatives pricing
Quant Q&A

The question concerns finding the underlying price at which a credit spread reaches a specified loss, using Black–Scholes option prices. The writer currently searches across underlying prices, which becomes slow when repeated across many spreads. The…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how Lie groups, differential geometry, and string theory relate to mathematical finance, but the available answer gives only a brief connection. It notes that mathematical finance often involves partial differential equations also studied…

OptionsVolatilityDerivatives pricing
Quant Q&A

The discussion explains two presentations of the portfolio used to derive the Black–Scholes pricing equation. In the delta-hedging view, the portfolio is short an option and holds a number of underlying shares equal to the option’s delta. Under the…

OptionsDerivatives pricingRisk management
Quant Q&A

The document explains how to infer a risk-neutral terminal-price density from call prices. By the Breeden–Litzenberger result, the density at a strike is the second strike derivative of the call price, adjusted for discounting. Since market quotes are…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The note explains the integral notation used to price a European call. Writing the differential before the integrand is an equivalent way to write the usual integral; the density multiplies the call payoff over terminal prices above the strike. The payoff is…

OptionsDerivatives pricingStatistics
Quant Q&A

The document raises a modeling question about a two-regime option-pricing setup built around a risk-neutral GARCH process. The author fits crash and normal regimes and observes that options are more expensive in the higher-volatility crash regime. The…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document addresses whether negative zero rates obtained while bootstrapping a euro swap curve indicate a calculation error. Its response is that negative interest rates can be economically possible, so a negative zero rate alone does not prove the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how a one-factor short-rate model can determine prices across many maturities even though it is named for the short rate. In a model such as Hull–White, discount bond prices at different maturities are functions of the modeled state…

Fixed incomeDerivatives pricingRisk management