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
Quantpedia
86 documents
TqSdk
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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,701 documents

Quant Q&A

The document explains a common way to calculate a floating-rate bond's yield. Rather than constructing a synthetic fixed-rate bond, the analyst projects each unset coupon from the relevant reference-rate curve and adds the bond's quoted margin. The projected…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how an underlying bond's approach to maturity affects its inclusion in a high-yield bond index. Under the cited iBoxx USD High Yield Developed Markets Index Guide, an existing constituent must have at least one year of expected…

Fixed incomeUS markets
Quant Q&A

The document describes a C++ lifetime problem when returning a QuantLib linear interpolation object from a function. The example constructs the interpolator using iterators into local vectors of time points and values. Those vectors are destroyed when the…

Fixed incomeDerivatives pricing
Quant Q&A

The document poses a credit-risk question using a three-state annual transition matrix for ratings A, B, and default. It asks for the credit spread ten years ahead for a company currently rated B, with the spread calculated semiannually. The author…

Fixed incomeStatisticsRisk management
Quant Q&A

The document examines how a plain bullet bond’s price changes as time passes while yields are held constant, and how to locate the change from price appreciation toward convergence to par. It differentiates the discounted cash-flow expression with respect to…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document asks which probability measure to use when simulating short rates to plot the future price of a zero-coupon bond in the Vasicek model. It distinguishes the real-world process, with its objective long-run rate, from the risk-neutral process used…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document explains that key rate durations can be calculated by shifting either a par yield curve or a spot, also called zero-coupon, curve. It treats both approaches as valid, so the choice is not presented as a question of one method being…

Fixed incomeRisk managementStatistics
Quant Q&A

The document clarifies how to interpret a compact swap-rate quote written with two values separated by a slash. In the example, the first value is the bid rate and the second is the offered, or ask, rate. The difference between those quoted sides is the…

Fixed incomeMarket microstructure
Quant Q&A

The document asks how to value collateral posted or received for a cross-currency swap when the credit support annex permits collateral in a currency different from the swap’s native currency. It distinguishes the CSA-adjusted discount factors used to value…

Derivatives pricingForexFixed income
Quant Q&A

The document explains that a forward swap rate is a martingale under the risk-neutral measure associated with the swap annuity numeraire. It presents the rate as a ratio: the difference between zero-coupon bond values at the swap’s start and end dates…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains a way to view a vanilla five-year interest rate swap as two components: its first floating coupon, already fixed from the three-month reference rate, and the remaining coupons represented by a forward-starting swap beginning three…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note explains how to calculate the equity risk premium when both equity and Treasury bill returns are reported in nominal terms. It separates nominal returns from real returns and expresses each as a combination of the real risk free return, inflation,…

EquitiesFixed incomeStatistics
Quant Q&A

The document explains how a U.S. Treasury bill’s quoted discount rate relates to its price and coupon-equivalent yield. Because a bill has no coupon, the standard coupon-bond valuation formula is not the relevant calculation. The accepted answer says the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers which daily risk-free rate proxy to use when estimating a capital asset pricing model for German stocks. It explains that researchers commonly use short-term rates, with U.S. studies often using Treasury bills and European studies…

EquitiesFixed incomeStatistics
Quant Q&A

The document describes a Hull-White interest-rate model calibration problem. The questioner calibrates the model to cap and floor prices while using an OIS curve to match the current term structure. Caps are priced correctly, but floors show large errors,…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks how to turn a factor that tracks price into buy and sell decisions, using the difference between German and US ten-year yields alongside EUR/USD as an example. One response describes a pairs trading approach: first test whether the series…

ForexFixed incomePairs tradingMean reversion
Quant Q&A

This exchange explains how a bond futures contract relates to the bond delivered at expiration. The question asks whether the conversion factor determines the face amount of the cheapest-to-deliver bond corresponding to a futures position. The answers…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

This discussion asks why a bond with a market price of 150 might seem unattractive to an investor who expects to receive only 135 after taxes. The example assumes a five-year, risk-free bond with a 10% coupon and zero rates, then compares the bond’s purchase…

Fixed incomeRisk management
Quant Q&A

The document asks how to reproduce discount rates for the long end of a zero-rate curve shown in a Bloomberg terminal. It distinguishes short maturities, described as zero-coupon swaps and calculated with a simple rate-and-period formula, from longer…

Fixed incomeStatistics
Quant Q&A

The document examines why Macaulay duration and modified duration can have different interpretations of their units. Macaulay duration is a cash-flow-weighted average time to payment. Modified duration measures bond-price sensitivity to yield; the accepted…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks why futures do not have price alignment interest of the kind associated with cleared swaps, and whether interest received on margin must be repaid to the counterparty. The answer explains the distinction through daily settlement: futures…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document describes unstable weights produced when principal component analysis is applied to rolling windows of fixed-income yield levels. The analyst extracts the first two component vectors, fixes one weight, and solves a linear system for the others;…

Fixed incomeStatisticsVolatilityRisk management
Quant Q&A

The document asks how to calculate bond yields for a very large dataset more efficiently than applying a Newton solver row by row in a Python loop. Its example prices a coupon bond from face value, payment frequency, remaining periods, coupon, and market…

Fixed incomeDerivatives pricingExecutionStatistics