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
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 explains why forward prices can matter to option valuation even when a Black–Scholes formulation is written using spot and an interest rate. For equities, no-arbitrage cash-and-carry reasoning connects spot, funding, dividends, and the forward…

OptionsFuturesDerivatives pricingArbitrage
Quant Q&A

When calibrating an option pricing model across several maturities, the risk-free input should come from securities whose prices primarily reflect interest rates, rather than being chosen to fit the options themselves. The answer recommends building a…

OptionsDerivatives pricingFixed income
Quant Q&A

The document asks why a multi-curve framework remains necessary after the transition from LIBOR to overnight risk-free rates. It outlines a common intuition: an OIS curve built from SOFR swaps can serve as the discount curve, and the quoted swap rates might…

Fixed incomeDerivatives pricing
Quant Q&A

The document values an option to reroll a fair six-sided die when the player may keep the first result or replace it with a second roll. The decision rule is to reroll when the first outcome is below the expected value of a fresh roll, and otherwise stop.…

OptionsStatisticsDerivatives pricing
Quant Q&A

The document clarifies a misconception about path dependence in binomial option pricing. Backward induction through time does not itself mean the model represents the full sequence of market states along a path. A tree compresses information into states that…

OptionsDerivatives pricingStatistics
Quant Q&A

The document considers a seller of a swaption who delta-hedges once per day and asks what share of daily theta decay remains as profit when the underlying rate move is smaller than a stated breakeven move. The proposed fraction is one minus the squared ratio…

OptionsDerivatives pricingRisk management
Quant Q&A

The document asks whether an at-the-money SPX put spread has an edge over a same-width call spread because the put spread's stated reward-to-premium ratio is higher. It frames the comparison as a roulette game with different payouts but supposedly equal…

OptionsDerivatives pricingUS markets
Quant Q&A

The document asks whether spot price can be calculated directly from a target option delta when strike, expiry, volatility, rates, and other inputs are known. It discusses Black–Scholes and Bjerksund–Stensland models, which provide option prices and Greeks…

OptionsDerivatives pricingStatistics
Quant Q&A

The document presents a failed calibration of the raw SVI total-variance parametrization for a single options maturity. The example converts market implied volatilities to total variance, computes forward log-moneyness, and minimizes squared fitting error…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document explains how covariance between two currency-rate returns can be inferred when a third rate is related to them through a currency triangle. In log terms, the cross rate is represented as the sum or difference of the two component rates,…

ForexStatisticsDerivatives pricing
Quant Q&A

The document explains why a simple unilateral credit valuation adjustment for an option must combine the option’s future value with the counterparty’s probability of default. The suggested discretized calculation averages discounted expected exposure at…

OptionsDerivatives pricingRisk managementStatistics
Quant Q&A

The document discusses hedging a known future expense of 2,500 USD when the home currency is euros. Using the stated spot and six-month forward rates, the answer calculates the euro amount fixed by the forward contract: dividing the dollar expense by the…

ForexDerivatives pricingRisk management
Quant Q&A

The document clarifies how a volatility surface indexed by moneyness can remain consistent with put-call parity. Although the question assumes calls and puts use opposite moneyness ratios, the answer explains that moneyness is generally defined the same way…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document describes diagnosing weak convergence in Monte Carlo simulations of an option-pricing model with state-dependent volatility. The original comparison estimates expectations at two time-step sizes, but uses independent simulated paths. Sampling…

OptionsDerivatives pricingStatisticsBacktesting
Quant Q&A

This note addresses a Python type error when calculating a bond’s z-spread with QuantLib. The example passes a RelinkableYieldTermStructureHandle into BondFunctions.zSpread, but the available overloads expect a yield-curve object, producing an argument-type…

Fixed incomeDerivatives pricing
Quant Q&A

The document presents Gyöngy’s theorem as a way to construct a local volatility process whose one-time probability distributions match those of a given stochastic process. In the stated result, the local drift and variance are conditional expectations of the…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document addresses how to infer forward rate or caplet volatilities from cap prices or quoted cap volatilities. Its central method is volatility stripping: order caps by maturity, take price differences between consecutive maturities, associate each…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document examines claims that artificial neural networks outperform Black–Scholes in option pricing. The cited study generates Black–Scholes estimates using simplified inputs, including a closing spot price, fixed volatility and interest rate, no…

OptionsMachine learningDerivatives pricingBacktesting
Quant Q&A

The document asks how the return of a function of an asset changes when the underlying asset’s drift rises by a constant, assuming the asset follows geometric Brownian motion. It applies Itô’s lemma to the function, separating the stochastic term from the…

StatisticsVolatilityDerivatives pricing
Quant Q&A

The document examines whether negative forward variance inferred from at-the-money-forward implied volatility across two maturities signals an arbitrage. It defines forward variance from the difference in total implied variance over the two time intervals.…

OptionsVolatilityArbitrageDerivatives pricing
Quant Q&A

The document compares shorting borrowed shares with constructing a synthetic short using a long put and short call at the same strike and expiry. Its example uses a hard-to-borrow stock and reports that the option combination produces a credit and an…

OptionsEquitiesDerivatives pricingCarry
Quant Q&A

The document outlines a scenario-based approach to assessing the richness or cheapness of a government bond futures basis and asks how to value the end-of-month switch option. The described steps estimate historical betas for yield changes, apply directional…

FuturesFixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks which partial differential equation is satisfied by an expectation of a function evaluated at a Wiener-driven, exponentially transformed variable. The proposed derivation differentiates the expectation and applies Itô’s rule to the…

StatisticsDerivatives pricing
Quant Q&A

The document explains why a bond forward’s impliedYield method does not directly return the yield of a forward-starting bond. In the example, applying it to the spot bond price and clean forward price produces a curve zero rate, because the forward price…

Fixed incomeDerivatives pricingStatistics