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

5,701 documents

Quant Q&A

The document concerns modeling a floating-rate bond tied to SOFR in QuantLib. The question describes difficulties adapting a workflow used for Ibor indices, since SOFR coupons involve overnight fixings compounded over a period and fixing conventions that…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The document considers a short rate following a Vasicek process and asks whether a zero-coupon bond pricing PDE also applies when the terminal payoff is a smooth function of the short rate. The proposed value is the risk-neutral expectation of that payoff…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains what a CVA desk’s trade value means in the context of counterparty credit risk. It cautions that the NPV of a hedge, such as buying a credit default swap on a counterparty, is not itself a measure of the desk’s profit: like other…

Derivatives pricingRisk managementFixed income
Quant Q&A

The document asks how to calculate the next amount due after a scheduled mortgage installment is missed. It compares three possibilities: pay both the overdue and current scheduled installments plus a late fee; recalculate the installment on the outstanding…

Fixed incomeRisk management
Quant Q&A

The document introduces the relationship between a credit default swap’s fair spread, the survival probability of the reference entity, and its hazard rate. It gives an integral expression for the spread across a contract’s term and notes that survival can…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document presents the one-factor Hull–White short-rate model as a mean-reverting, normally distributed model used for pricing interest-rate products. Its tractability supports closed-form prices for zero-coupon bonds and bond options, including caps and…

Fixed incomeDerivatives pricingOptionsStatistics
Quant Q&A

The document examines a claimed relationship between a futures rate and a forward rate agreement under a T-plus-D measure. The questioner expects the convexity adjustment to equal one, reasoning that the bank-account accumulation and zero-coupon bond terms…

FuturesFixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to estimate a trade’s sensitivity to a market instrument that was not used to bootstrap the relevant interest-rate curve pillar. Its example uses a Eurodollar future at a short tenor but asks for the equivalent sensitivity to a swap…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document presents a question about an alternative derivation of the Black–Scholes model in Robert Merton’s rational option pricing work. It describes a setup in which a European warrant’s value depends on the stock price, riskless bond price, and time to…

OptionsDerivatives pricingFixed income
Quant Q&A

The note gives a first-order way to estimate a high-yield bond portfolio’s return from a change in its credit spread: multiply the spread change by duration, with the sign depending on whether spreads widen or tighten. Its example uses a spread move of 20…

Fixed incomeRisk managementStatistics
Quant Q&A

The document asks whether default probabilities alone can determine credit spreads or a rating transition matrix. Its central answer is that a single set of default probabilities is insufficient to identify a full migration matrix: many combinations of…

Fixed incomeStatisticsRisk management
Quant Q&A

The document discusses converting market normal volatilities into shifted Black volatilities for SABR calibration in a negative-rate setting. Its stated approach is to treat each implied volatility as a way to represent an option price: calculate a price…

OptionsDerivatives pricingVolatilityFixed income
Quant Q&A

The document clarifies how to interpret a monthly time series of ten-year government bond yields. Monthly frequency describes how often observations are recorded; it does not mean the quoted yield is a one-month rate. The answer states that the yield quotes…

Fixed incomeUS marketsStatistics
Quant Q&A

The document asks how to reward diversification in a fixed-income portfolio whose holdings vary by currency, yield, tenor, and class. It raises portfolio-weighted correlation and the Herfindahl index as possible ingredients, but does not develop either into…

Fixed incomePortfolio constructionRisk managementStatistics
Quant Q&A

A par-par asset swap converts a bond investment into a floating-rate exposure while keeping the swap notional at par. The investor buys the bond at its dirty price, funds 100 of the purchase cost directly or through repo, and uses an asset swap to handle the…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why equity derivatives may use one curve to project forward rates or determine payoffs and another to discount cash flows. In a simplified theoretical argument, borrowing at an overnight rate and lending at LIBOR could appear to create…

Derivatives pricingFixed incomeArbitrageRisk management
Quant Q&A

The document explains a cancellable interest rate swap from the perspective of a dealer that pays fixed and has the right to terminate. It represents the cancellable structure as a vanilla swap combined with an option to enter an offsetting swap. This option…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document examines how to identify the cheapest-to-deliver bond in a Treasury futures contract. It compares several ranking measures: lowest converted price after carry, highest implied return, highest net-basis profit, and highest hedge ratio. These…

FuturesFixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks how to value a callable zero-coupon bond when assuming it will be redeemed on a call date. Its starting point is the standard present-value formula for a zero-coupon bond, and the answer clarifies that the maturity date alone is not the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document frames a bond-selection problem in which several fixed-rate bonds appear to offer the same forecast return over a short horizon. Their durations and convexities differ, and the forecast assumes the issuer's yield curve will retain roughly the…

Fixed incomeVolatilityRisk management
Quant Q&A

The document explains why the yield to maturity of a floating-rate note (FRN) can rise when market rates increase, even if its price stays roughly unchanged. Yield reflects the broader risk-free interest-rate regime as well as compensation specific to the…

Fixed incomeCarryRisk managementDerivatives pricing
Quant Q&A

The document asks how to express a swap’s DV01 as exposure to the first principal component of daily U.S. Treasury yield changes. The proposed method normalizes the PC1 loading vector to a one-basis-point move at a chosen anchor tenor, then uses the…

Fixed incomeStatisticsRisk management
Quant Q&A

The document addresses how to size the swap and bond legs of a swap spread position. Its practical guidance is to match the legs by DV01 rather than by notional when the aim is to capture changes in the spread measured in basis points. Since instruments with…

Fixed incomePosition sizingRisk management
Quant Q&A

The document describes a way to estimate a nominal yield for an inflation-linked bond such as a US TIPS. The method constructs an asset swap with one leg reproducing the bond’s inflation-adjusted cash flows and another leg paying in nominal currency. The…

Fixed incomeDerivatives pricing