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 questions media descriptions of US Treasury futures basis trades as arbitrage. It focuses on a cash bond and futures hedge, especially when the bond is the cheapest to deliver, and distinguishes a negative gross basis from a genuinely locked-in…

Fixed incomeFuturesArbitrageCarry
Quant Q&A

The document examines a formula for the weights of a conditionally optimal portfolio, called the unconstrained minimum-variance efficient portfolio, in a setting with multiple risky assets and no riskless asset. The weights depend on the conditional mean…

Portfolio constructionStatisticsDerivatives pricing
Quant Q&A

The document gives a quick approximation for the mark-to-market change on a fixed-rate interest rate swap after a small change in its quoted rate. The proposed method multiplies the rate move by the swap’s duration and notional, with the sign determined by…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to interpret the cash-account changes in Piterbarg’s framework for pricing derivatives under collateral agreements. It distinguishes dividend income on a hedging stock position from the cost of financing that position, and asks why…

Derivatives pricingFixed incomeRisk management
Quant Q&A

The document asks what to call the overlapping strike prices in ordered lists of call and put options. Its answer uses the underlying spot price to explain the standard moneyness categories: calls with strikes below spot and puts with strikes above spot are…

OptionsDerivatives pricing
Quant Q&A

The document discusses when to roll a six-month call option into a longer-dated option, such as one expiring in nine or twelve months. Its main suggestion is to consider rolling when implied volatility in the existing LEAP is elevated and fewer than six…

OptionsVolatilityDerivatives pricing
Quant Q&A

The exchange explains the role of delta hedging in the Black–Scholes framework. A portfolio short the option and long the underlying in proportion to the option's sensitivity to the underlying cancels the shared stochastic price movement in the idealized…

OptionsDerivatives pricingRisk management
Quant Q&A

The discussion compares broad approaches to estimating fair value in corporate credit. It notes that cross-sectional regressions are common in published work, then frames structural models, stochastic pricing models, and hybrids that use distance to default…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains the intuition behind representing a variance swap hedge as a weighted portfolio of vanilla options across strikes. The integral represents a continuous strip: at each strike, the portfolio holds an amount determined by a weighting…

OptionsVolatilityDerivatives pricingRisk management
Quant Q&A

The document addresses calibrating the SABR parameters rho and nu when beta and alpha are fixed. The target is to minimize the sum of squared differences between observed market volatilities and model-implied volatilities. The questioner’s R call supplies…

OptionsVolatilityDerivatives pricingStatistics
Quant Q&A

The document considers which discount curve to use for an uncollateralized cross-currency swap when valuation is expressed across two currencies. It weighs choosing a reporting currency and building a second curve with foreign-exchange forward or…

Fixed incomeDerivatives pricingForex
Quant Q&A

The document compares approaches for calculating American-option implied volatility repeatedly in a production setting. It discusses closed-form approximations, including Barone-Adesi–Whaley, Roll-Geske-Whaley, Ju–Zhong, and Bjerksund–Stensland, while…

OptionsDerivatives pricingVolatilityExecution
Quant Q&A

The document asks how today’s implied volatility for a forward-start call relates to the implied volatility observed when the option begins. The call’s strike is set as a multiple of the stock price at a future start date, and its payoff depends on the stock…

OptionsDerivatives pricingVolatility
Quant Q&A

The document considers the no-arbitrage relationship between prices of call options on the same stock with the same expiry but different strikes. A lower-strike call should be worth at least as much as a higher-strike call, since its payoff is never smaller.…

OptionsDerivatives pricingArbitrage
Quant Q&A

The document raises whether power derivatives should be discounted and, if so, which curve should be used. It contrasts the usual use of overnight indexed swap rates, grounded in an assumed risk-free hedge, with commodity pricing that adjusts for dividends…

CommoditiesDerivatives pricing
Quant Q&A

The document explains why an autocall with a linear payoff can still have volatility exposure. The payment date is determined by whether a second index crosses a barrier: with low volatility it may never cross, while higher volatility increases the chance of…

OptionsVolatilityDerivatives pricing
Quant Q&A

The document raises a pricing question about crypto options: whether a reported discount rate around 10% is unusually high, and whether observed option quotes imply a rate near 12% when checked against put-call parity. It presents bid and ask snapshots for…

CryptoOptionsDerivatives pricingArbitrage
Quant Q&A

The document explains why a contract for difference (CFD) tends to track its underlying asset. A CFD is a contract with a provider, so its value depends on the terms and creditworthiness of that provider; the holder does not own the underlying asset and may…

Derivatives pricingArbitrageRisk management
Quant Q&A

The document investigates why a QuantLib fair rate for a Mexican TIIE swap differs from the market quote used as a curve node. The response identifies two setup issues: the example’s swap start date does not match the stated one-day settlement convention,…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to obtain a partial differential equation for a discount factor used to express a futures price. It starts with a pricing PDE for a claim depending on the spot price and interest rate, then substitutes the similarity form in which…

FuturesFixed incomeDerivatives pricingVolatility
Quant Q&A

The document asks whether two bond valuation approaches treat default risk inconsistently. One approach defines expected yield to maturity for a zero-coupon corporate bond by discounting its probability-weighted expected payoff. The other values expected…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains a measure change used in a derivation of constant-maturity swap convexity. It considers the expectation of a swap rate under a forward measure associated with a bond maturing at the payment date, then rewrites it under an annuity…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how sums of squared log returns can approximate integrated variance, and why the approximation works even when returns are sampled daily. It distinguishes realized variance, formed by summing squared returns over a sampling grid, from…

VolatilityStatisticsDerivatives pricing
Quant Q&A

The document contrasts two mathematical characterizations of the perpetual American put discussed in a stochastic calculus text. The analytical treatment describes the option value through partial differential inequalities and linear complementary…

OptionsDerivatives pricingStatistics