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 explains how to interpret differences in government bond Z-spreads when comparing bonds of similar maturity. A higher Z-spread means the bond’s price is lower relative to the reference zero-coupon curve, because a larger discount spread is…

Fixed incomePairs tradingMean reversion
Quant Q&A

The document explains why, under an equivalent martingale measure, traded asset prices have drift equal to the short rate when expressed relative to a risk-free money-market account. The key definition is that each discounted asset price must be a martingale…

Derivatives pricingFixed incomeStatistics
Quant Q&A

The document asks how to define a shock to a system driven by credit default swap spreads. It offers one possible measure: an increase in spreads, with a threshold chosen to mark when that increase qualifies as a shock. It does not provide additional…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document examines whether a bond’s price sensitivity to interest rates always increases with maturity. It starts from the present value formula for a coupon bond, then relates price sensitivity to duration and modified duration. For fixed coupon, par…

Fixed incomeRisk managementStatistics
Quant Q&A

The document poses a risk aggregation problem for an interest rate swaption matrix organized by expiry and tenor. It asks how to compress a larger grid into a smaller set of buckets while keeping the sum of instrument vegas unchanged. The example describes a…

Fixed incomeOptionsVolatilityRisk management
Quant Q&A

The document explains why Treasury bill prices differ depending on whether a quoted rate is interpreted as a discount rate or as a money market yield. Under the discount-rate convention, the discount is applied to face value to obtain the purchase price.…

Fixed incomeUS markets
Quant Q&A

The document asks how to derive the dynamics of a forward price formed as the ratio of two zero-coupon bond prices in the Vasicek interest-rate model. Its proposed calculation applies Itô’s product rule to the numerator bond price and the reciprocal of the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion addresses a perceived conflict between positive net present value and the efficient frontier. It clarifies that the discount rate is not generally chosen as the realized return of a single alternative investment. One answer suggests using a…

StatisticsRisk managementPortfolio constructionFixed income
Quant Q&A

The document explains how swap rates can be used to infer zero-coupon rates under a single-curve framework. Each swap rate gives a valuation equation involving the floating rates paid over its schedule. With swaps of progressively longer tenors, these…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explores why a positive future cash flow from an uncollateralized derivative is sometimes described as economically similar to lending to the counterparty. The question challenges the idea that the recipient must literally borrow to realize a…

Derivatives pricingRisk managementFixed income
Quant Q&A

The document sets out the valuation equation for a perpetual coupon-paying defaultable bond in a structural credit model. It gives the differential equation and a general solution containing unknown constants, then specifies boundary conditions: bond value…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The note diagnoses why a manually calculated one-year forward rate does not match a displayed Treasury forward quote. The key issue is that the initial one- and two-year rates are coupon bond yields, rather than zero rates. Coupon yields cannot be…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The answer proposes estimating a hypothetical government perpetuity yield by extrapolating the long end of the yield curve. It suggests that short maturities mainly reflect expected central-bank policy, while longer maturities increasingly include term…

Fixed incomeUS marketsStatisticsDerivatives pricing
Quant Q&A

The discussion addresses whether 3M flat cap and floor volatilities can be converted into 6M volatilities for EUR using forecast and discount curves. It explains that the conversion is not uniquely determined by the 3M curve: the basis between 3M and 6M…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document clarifies the distinction between scheduled principal payments and prepayments in a fixed-rate mortgage. CPR, or conditional prepayment rate, is described as the prepayment rate in excess of scheduled principal. The question concerns a borrower…

Fixed incomeRisk managementStatistics
Quant Q&A

The document explains a bullish flattening view: the trader expects interest rates to fall while the yield curve becomes flatter. A bond implementation is to buy a longer-term bond and short a shorter-term bond. If the positions are not DV01 neutral and…

Fixed incomeFuturesOptionsDerivatives pricing
Quant Q&A

The document explains why a share repurchase can increase a company’s credit spread, all else equal. A buyback uses company cash to retire shares, reducing assets and equity while leaving existing liabilities in place. This raises leverage, or raises it…

EquitiesFixed incomeRisk management
Quant Q&A

The document distinguishes a money-market account from a zero-coupon bond when the short rate is stochastic. The accumulated bank account is the exponential of the integral of the short rate from the initial time, while a bond price is the risk-neutral…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion addresses how to interpret a quoted spread on the shorter leg of a tenor basis swap when that leg’s rate accrues over shorter periods but pays on the longer leg’s schedule. It explains that the term sheet or governing market documentation…

Fixed incomeDerivatives pricingCarry
Quant Q&A

The exchange defines a spreadlock as an agreement to buy or sell a swap spread on a specified future date. It illustrates the contract with a forward-starting interest rate swap: the buyer agrees to a fixed rate set at a stated spread over the…

Fixed incomeDerivatives pricing
Quant Q&A

The discussion asks whether risk-neutral pricing applies only to stocks or to every asset, and whether applying Itô’s formula to an asset’s value gives a Black–Scholes-type partial differential equation. One answer says the risk-neutral measure is defined…

Derivatives pricingStatisticsFixed income
Quant Q&A

The document addresses an apparent carry mismatch between a bond futures price observed on its last trading day and the cheapest-to-deliver bond’s forward price at the last delivery date. It asks whether the bond forward should instead be valued to the…

FuturesFixed incomeCarry
Quant Q&A

A forward-starting swap rate is the fixed coupon that makes the discounted fixed and floating legs equal over the swap’s payment dates. The method uses discount factors from the discount curve and forward rates from the projection curve, then divides the…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

The document describes a practical way to assess concentration risk in rates positions when market-wide trading volumes are hard to observe. Start by estimating likely market volumes from internal activity and broker input, then examine how hypothetical…

Fixed incomeRisk managementExecutionMarket microstructure