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
WonderTrader
14 documents
Alphalens
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 why a floating-rate bond does not necessarily trade at par on a coupon reset date. In a simplified single-curve setting, when the bond has no credit spread and its coupons reset to the same rates used for discounting, the cash flows and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to construct a curve for valuing a USD interest rate swap whose floating leg references three-month LIBOR. It organizes market inputs by maturity: LIBOR spot rates at the short end, futures or forward rate agreements in the middle,…

Fixed incomeDerivatives pricingFuturesBacktesting
Quant Q&A

The document investigates a small accrued-interest discrepancy when valuing a Canadian floating-rate note linked to CORRA in QuantLib. It describes a setup with an overnight index, a forecast curve, historical CORRA fixings, a spread, and quarterly coupon…

Fixed incomeStatistics
Quant Q&A

The document explains how to represent equities, foreign exchange forwards, and options in a variance-covariance VaR framework. Its central recommendation is to map each instrument to the underlying risk factors that drive its value rather than treating…

Risk managementOptionsEquitiesForex
Quant Q&A

The document works through zero-coupon bond pricing in the Ho-Lee short-rate model, where the short rate has constant drift and volatility. It asks for the pricing partial differential equation, a bond-price formula obtained from the conditional expectation…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how cheapest-to-deliver collateral methodology handles agreements that permit collateral in multiple currencies. Its motivating concern is that choosing the most favorable collateral rate could cause discontinuities when the preferred rate…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks whether a fixing date changes the value or interest-rate sensitivity of fixed-for-floating interest rate swaps and cross-currency swaps. The response says that a fixing does not directly change the floating leg’s price under the stated…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to interpret a Treasury bond futures quote when the delivery date, accrued interest, and specific bond to be delivered are not yet known. It says the quoted futures price is grounded in the cheapest-to-deliver principle: among…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains how an irregular first coupon period can cause a programmatically generated bond schedule to disagree with vendor calculations of accrued interest, clean and dirty prices, or duration. A schedule built backward from maturity may insert…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

This note distinguishes quarterly swaps on regular calendar rolls from quarterly swaps on IMM dates. For a regular quarterly schedule, fixing and accrual start dates align as closely as possible with the recurring roll date, subject to holiday adjustment.…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The discussion considers how Monte Carlo simulation can value mortgage-backed securities when borrower prepayments make cash flows uncertain. It explains that the mortgage’s value at a modeled date depends on future interest-rate paths and borrower…

Fixed incomeOptionsBacktesting
Quant Q&A

The document works through a Riccati differential equation for the coefficient in a short-rate model and compares an attempted derivation with a proposed closed-form expression. The approach shifts the unknown by a constant particular solution, then takes…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a swap whose floating-rate payment timing differs from the standard reset-and-payment convention may need a convexity adjustment. A vanilla swap can be viewed as a sequence of forward rate agreements: forward rates from the zero…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks why a security’s price can be expressed both as a risk-neutral expectation of discounted terminal value and as a T-forward-measure expectation scaled by the price of a zero-coupon bond. It then asks how the forward-price martingale relation…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines pricing a zero-recovery risky zero-coupon bond by taking the expected discounted payoff conditional on survival to maturity. It presents a survival probability expressed through the integrated default intensity, then uses iterated…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why longer-term Treasury yields can decline even when the Federal Reserve raises its overnight policy rate. It distinguishes the federal funds rate, which applies to overnight lending, from yields on longer-maturity government debt.…

Fixed incomeUS marketsStatistics
Quant Q&A

This exchange explains a common mistake in risk-neutral bond valuation: treating the money market account, or its reciprocal, as a martingale under the risk-neutral measure. The bond price is expressed as the conditional expectation of the accumulated…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion clarifies a common payoff convention for an nth-to-default basket credit default swap. Under the convention described by the respondent, earlier defaults determine when the contract reaches its trigger but do not contribute their recoveries to…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document addresses whether simple LIBOR quotations must be converted to compounded rates before bootstrapping a yield curve. The answer depends on how the curve is represented internally: if the chosen representation uses compounded rates, conversion is…

Fixed incomeStatistics
Quant Q&A

The document explains why risky bonds are measured for both interest rate duration and spread duration. Interest rate duration captures price sensitivity to changes in the risk free curve, while spread duration captures sensitivity to changes in the bond’s…

Fixed incomeRisk management
Quant Q&A

The document outlines conventions needed to derive coupon dates, cash flows, and accrued interest for U.S. Treasury securities. Coupon schedules can be found by starting at maturity and stepping backward through the semiannual payment dates. The final…

Fixed incomeRisk managementStatistics
Quant Q&A

The discussion considers how mathematical finance fits alongside econometrics, corporate finance, and machine learning in asset management. It argues that the value of the subject depends on the instruments and tasks involved. Cash equities may require…

Fixed incomeDerivatives pricingVolatilityStatistics
Quant Q&A

The note describes how to calculate an option-adjusted spread (OAS) for a mortgage-backed security using simulated interest-rate paths. Rather than rerunning the simulations for every OAS trial, generate the paths and associated cash flows once. For each…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains how to estimate a bond futures contract’s DV01 from the DV01 of its cheapest-to-deliver (CTD) bond. It gives a conversion-factor adjustment and a small repo-related adjustment: when the net basis is assumed to be zero, the futures DV01 is…

FuturesFixed incomeDerivatives pricingRisk management