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 asks how Itô’s lemma can help derive Clark’s representation for a smooth, bounded function of Brownian motion at a fixed horizon. The stated formula expresses the terminal function value as its expectation plus a stochastic integral whose…

StatisticsDerivatives pricing
Quant Q&A

The document considers how to use an option on a zero-coupon bond to protect a minimum yield. Its response translates a yield threshold into an approximate bond-price strike, then explains the position direction: selling a call at that strike limits the…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks how to estimate the expected return of a broad stock index when calculating the market price of risk in a change from real-world to risk-neutral dynamics. It presents the relationship between that price and an asset’s correlation with the…

StatisticsDerivatives pricingEquities
Quant Q&A

The document examines a common first-order approximation for the premium of an FX risk reversal: multiply at-the-money option vega by the risk reversal in volatility points. It explains that the approximation should compare the market-priced call and put…

ForexOptionsVolatilityDerivatives pricing
Quant Q&A

The document distinguishes ordinary open interest from dealer directional open interest (DDOI). Open interest counts outstanding contracts without identifying who holds the long or short side, while DDOI attempts to infer dealers’ net option exposure because…

OptionsMarket makingMarket microstructureDerivatives pricing
Quant Q&A

The document asks whether Bloomberg’s cash flow generator for newly issued collateralized loan obligations is suitable for discounted cash flow valuation. The responses describe the tool as translating the cash flow waterfall documented in a CLO’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document describes a finite-difference approach to effective duration for an interest rate instrument with optionality. The practitioner prices the instrument using a model calibrated to a discount curve and at-the-money swaption volatilities, shifts the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

A single-look CMS spread option pays on the difference between two forward constant-maturity swap rates relative to a strike on one expiry date. A CMS spread cap or floor instead consists of options settling on multiple dates. Both structures can express a…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document addresses a mismatch between an analytic price and a Monte Carlo estimate for a floating lookback put under geometric Brownian motion. The question gives a volatility, maturity, interest rate, time step, and spot, and reports that the simulation…

OptionsDerivatives pricingBacktesting
Quant Q&A

The document explains why barrier-option Greeks cannot be represented by one general curve. Their shapes depend on spot, strike, barrier placement, volatility, and time to expiry. In a knock-out call, a rising spot can increase the call’s payoff potential…

OptionsDerivatives pricingVolatility
Quant Q&A

The document explains how to select the interest rate input in Black–Scholes pricing. In the basic model, the rate represents short-term risk-free funding over the option’s life; a continuously compounded government bill yield with a maturity near the option…

OptionsDerivatives pricingFixed income
Quant Q&A

Vega and gamma often have the same sign for a single option under standard assumptions, but a calendar spread can produce opposite exposures. The example pairs a long near-dated at-the-money option with a short longer-dated at-the-money option, yielding long…

OptionsVolatilityDerivatives pricing
Quant Q&A

A total return swap (TRS) exchanges an asset’s returns, including price changes and income, for financing payments. The asset leg is valued from the asset’s current price and accrued returns through the valuation date; expected future gains are not…

Derivatives pricingEquitiesFixed incomeCarry
Quant Q&A

The document considers pricing a European option when the underlying asset’s daily return is constrained to a fixed interval. It proposes replacing the usual return density with a two-sided truncated normal risk-neutral density, then valuing the option by…

OptionsDerivatives pricingVolatility
Quant Q&A

The document contrasts rational exercise models with behavioral approaches for embedded options, such as mortgage refinancing rights and callable corporate debt. Borrowers and issuers may exercise based on private circumstances, including personal finances…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This question asks how SABR is used in practical option workflows. It contrasts fitting or interpolating a volatility surface with SABR to obtain Black implied volatilities, then managing positions with Black Greeks, against measuring and managing risk…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

This discussion surveys day-count conventions used to calculate interest accruals across bonds, money markets, floating-rate notes, and other instruments. It lists examples such as 30/360, Actual/360, Actual/365, Actual/Actual, and Brazil’s Business/252,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document presents a way to create a nonuniform numerical grid on the unit interval when a solution changes rapidly near both endpoints. It assumes a finite-difference problem, where grid density near sensitive boundaries can matter for accuracy. The…

StatisticsDerivatives pricing
Quant Q&A

The document explains how to express a Bachelier caplet as the difference between an asset-or-nothing payoff and a cash-or-nothing payoff. Under the stated forward-measure setup, the cash digital component is proportional to the strike times the probability…

Fixed incomeOptionsDerivatives pricingStatistics
Quant Q&A

The document asks for a more accessible derivation of the semi-closed-form price of a European call under the Heston stochastic-volatility model. It does not derive the pricing formula itself; instead, the replies point readers toward a paper with a…

OptionsDerivatives pricingVolatilityStatistics
Quant Q&A

The document raises a question about P&L attribution for a single stock option. It defines daily P&L as the change between desk market values and proposes explaining that change through underlying-price delta and gamma effects, implied-volatility vega, and…

OptionsDerivatives pricingVolatilityRisk management
Quant Q&A

The response explains why a volatility surface matters when pricing a Bermudan swaption, an option exercisable on specified dates. It first clarifies that a Bermudan contract need not be exercisable from the beginning of its life, then outlines a model-based…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

This note shows how to price a path-dependent lookback call in a two-period binomial model. A European payoff depends only on the terminal asset price, so the two paths that reach the same middle terminal node can be combined and their probabilities added. A…

OptionsDerivatives pricingBacktesting
Quant Q&A

This note explains how to connect a Black–Scholes call’s volatility sensitivity to the strike derivative used to price a cash-or-nothing digital option. It starts from the call price and its vega, then shows that the apparent mismatch between a term…

OptionsDerivatives pricingVolatility