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 derives the solution to an SDE in which an asset’s drift and volatility are deterministic functions of time. Applying Itô’s lemma to the logarithm of the asset value introduces a second derivative term. The quadratic variation of the diffusion…

StatisticsDerivatives pricing
Quant Q&A

The document investigates why cubic interpolation of discount factors in QuantLib might produce zero or irregular forward rates near a curve endpoint, in contrast with log-linear interpolation. It describes a curve built from dated discount factors and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to obtain a binary option value from the change in call prices across nearby strikes. With implied volatility held constant, the limiting price difference corresponds to the negative strike derivative of the call price, which is the…

OptionsDerivatives pricingVolatility
Quant Q&A

The document asks how to build a consistent historical swaption volatility series when market conventions change. It distinguishes normal from Black volatility and quotes referencing IBOR or OIS discount curves, and asks whether backtests should use only…

OptionsFixed incomeVolatilityBacktesting
Quant Q&A

The note describes using meeting-date overnight index swaps to infer market expectations for central bank rate decisions. The proposed comparison is between the current effective overnight rate and the OIS rate spanning the period around a policy meeting.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note clarifies what a two-year spot rate represents when valuing fixed-income cash flows. It is the rate used to discount cash flows occurring at the two-year horizon, such as the second annual coupon payment on a coupon-bearing bond. The same…

Fixed incomeDerivatives pricing
Quant Q&A

The document clarifies a common misunderstanding of the Feynman–Kac theorem in a stochastic calculus text. The theorem is not asking the reader to discover an unknown terminal function: the payoff function is specified as part of the problem. A derivative’s…

Derivatives pricingOptionsStatistics
Quant Q&A

The document explains how a risk-neutral probability density for the underlying at expiration can be recovered from the second strike derivative of call prices, under a constant interest-rate assumption. Once recovered, the density can be integrated against…

OptionsDerivatives pricingVolatilityArbitrage
Quant Q&A

The document concerns fitting a Libor Market Model volatility function to market observations by minimizing a nonlinear least-squares objective over five parameters. The calibration has positivity conditions, including a combined constraint on two…

Fixed incomeVolatilityDerivatives pricingStatistics
Quant Q&A

The note compares a discounting adjustment expressed as the expected discounted integral of the difference between a target rate and a base rate, multiplied by exposure, with a formula attributed to Piterbarg for a fully collateralized position. The apparent…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note explains why an FX swap can retain a small exposure to the future spot rate even when its near and far legs exchange the same domestic notional. The key is that the notional returned at maturity does not include the interest that would have accrued…

ForexDerivatives pricingRisk management
Quant Q&A

The document asks how useful implied volatility remains when the Black–Scholes assumptions do not fit the market. It uses stock-borrowing fees as an example: different borrowing and lending rates can change the pricing equation, so an option price must be…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document poses a risk-neutral pricing problem for a derivative that pays the square of a non-dividend-paying stock price at maturity. It proposes discounting the expected terminal payoff, but the attempted expression does not satisfy the Black–Scholes…

OptionsDerivatives pricingStatistics
Quant Q&A

The document clarifies the relationship between normally distributed log returns and the expected value of a geometric Brownian motion price. If log price follows a Brownian process with drift μ and volatility σ, exponentiating it yields a lognormal price…

StatisticsDerivatives pricingVolatility
Quant Q&A

The document addresses whether different fixed rates in a fixed-for-fixed currency swap create a free return for one counterparty. Its explanation emphasizes that each party pays interest on a principal denominated in its currency and returns that principal…

Fixed incomeForexDerivatives pricing
Quant Q&A

The document examines whether a portfolio that is neutral to vega is also neutral to gamma and theta. One response gives a specific result for portfolios of calls and puts sharing the same maturity: under the Black–Scholes framework, gamma neutrality and…

OptionsDerivatives pricingRisk managementVolatility
Quant Q&A

The document considers whether the leading principal component of historical interest-rate changes can serve as the volatility curve for calibrating a Hull–White or Black–Derman–Toy tree. It contrasts estimating a separate standard deviation at each tenor…

Fixed incomeStatisticsVolatilityDerivatives pricing
Quant Q&A

The document asks where forward prices can enter a Monte Carlo derivatives-pricing workflow. It describes a system that accepts calibration instruments, a model choice, initial underlying levels, a yield curve, and a forward curve. The follow-up clarifies…

Derivatives pricingExecutionFixed income
Quant Q&A

The document introduces an ATM implied-volatility correction in a free-boundary extension of SABR, motivated by pricing under negative rates. It describes a small-time heat-kernel approximation and gives a first-order correction for the at-the-money case…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to find the risk-neutral conditional expectation of a process built from geometric Brownian motion and an accumulated constant term. The process is expressed as a GBM multiplied by an integral involving its reciprocal, and it also…

StatisticsDerivatives pricingRisk management
Quant Q&A

The discussion explores estimating one-day downside risk for a portfolio that combines linear assets with short option exposure. It contrasts fitting a generalized Pareto distribution to the tail of repriced historical portfolio returns with simulating…

OptionsRisk managementVolatilityStatistics
Quant Q&A

The discussion considers how to price same-day-expiry options on futures across equity indexes, energy commodities, and Treasury markets. The response says many futures options are European and can be priced with Black–Scholes, while some contracts are…

FuturesOptionsCommoditiesDerivatives pricing
Quant Q&A

The document raises a mathematical question about deriving an asymptotic option-price expression used in the Hagan SABR implied volatility formula. It focuses on a partial differential equation for option value, with terms involving the forward price,…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document asks how to estimate the dollar impact of a change in cross-currency basis for a portfolio of swaps hedging loans or bonds. The answer offers a rough approximation: use the book’s weighted average tenor, with each trade weighted by the notional…

Fixed incomeForexRisk managementDerivatives pricing