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 sets up the present value of a life annuity that pays a fixed amount yearly from a deferred start date until the holder dies. It discounts each possible payment using the relevant zero rate and weights it by the probability that the holder…

Fixed incomeStatisticsRisk management
Quant Q&A

The response cautions that an expected end to quantitative easing does not automatically imply falling Treasury futures prices or a profitable long put position. If a policy change is widely anticipated, markets may already reflect it. The author also points…

Fixed incomeFuturesOptionsCarry
Quant Q&A

The document discusses the two-dimensional term structure of lognormal implied volatility for European swaptions, varying by option expiration and underlying swap tenor. It describes a typical pattern in which volatility may rise over the shortest…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a common Bloomberg approximation for the five-year inflation rate beginning five years ahead uses twice the 10-year zero-coupon inflation swap rate minus the 5-year rate. It contrasts that linear calculation with a compounded…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note discusses how to represent recovery for a bond whose promised solvent-state cash flows have fallen far below its original notional. It cautions against assuming that recovery should simply be a standard fraction of face value: distressed creditors…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document explains that QuantLib’s C++ calendar interface provides a holiday-list function, but the Python wrapper does not expose it. Calling that method from a Python calendar therefore raises an attribute error, and calling it as a standalone function…

Fixed incomeFuturesExecution
Quant Q&A

This note explains a negative-time pricing error when using a QuantLib zero curve to value a credit default swap. The cause is the curve’s first date: the example builds the curve from rates beginning one month after the evaluation date, so discounting or…

Fixed incomeDerivatives pricing
Quant Q&A

This note explains why manually calculated zero rates for two deposits may differ from a QuantLib piecewise linear zero curve. The key is that the deposits do not share the curve’s valuation date as their start: the overnight transaction runs over one day,…

Fixed incomeStatistics
Quant Q&A

The document addresses where to find long-run US savings-account and short-term Treasury bill rates. It explains that savings rates vary by bank because institutions set their own rates and terms, making a single historical series difficult to define. It…

Fixed incomeUS marketsStatistics
Quant Q&A

The document asks how to choose bond positions that replicate the issuer exposures of an equally weighted CDS index. Its two-issuer example contrasts investing equal bond notionals, which produces unequal market-value weights when the bonds trade at…

Fixed incomePortfolio constructionDerivatives pricing
Quant Q&A

The document explains which risk-free rates to use when discounting project cash flows to today. A cash flow arriving at a future horizon should be discounted with the spot rate for that horizon, raised to the matching number of periods. A forward rate is…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document addresses whether an internal rate of return should be described as a nominal or effective interest rate. It distinguishes a quoted rate with a specified compounding frequency from an effective rate converted to a different period. For instance,…

StatisticsFixed incomePortfolio construction
Quant Q&A

The document investigates why three tools produce different clean prices for the same fixed-rate bond. It lists the bond’s coupon, maturity, yield, face value, and valuation inputs, then reports differing outputs from Bloomberg YAS, RQuantLib, and a Hoadley…

Fixed incomeStatistics
Quant Q&A

The document asks how a USD investor should compare keeping cash in dollars with using a USDJPY FX swap to fund a Japanese bond. It distinguishes the implied yield from the swap from the bond’s yield and asks whether a swap alone could be preferable when its…

ForexFixed incomeCarry
Quant Q&A

The discussion considers whether a widening gap between a bond futures price and its spot price causes the bond yield to rise. The answers describe the price gap as related to financing carry and argue that changes in yields or financing conditions generally…

Fixed incomeFuturesCarryArbitrage
Quant Q&A

The document describes how a swaption trader can move from an at-the-money implied volatility surface to prices for options struck away from the money. The answer says that desk models commonly add parameters for the volatility smile and skew: these capture…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The discussion explains why discount factors are often expected to fall as payment dates move further into the future. It frames discounting as valuing later cash flows through successive periods: if each period has a discount factor below one, multiplying…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether a LIBOR rate can be modeled like a stock price with geometric Brownian motion, then outlines concerns with that choice. One response argues that interest rates tend to exhibit stationarity, whereas Brownian motion does not, so the…

Fixed incomeDerivatives pricingVolatilityMean reversion
Quant Q&A

The document considers forecasting daily three-month and one-month LIBOR over a long horizon by treating observed rates as instantaneous short rates and estimating Vasicek model parameters with regression. The proposed use is forecasting rather than…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document explains how deflation affects the floating inflation leg of an inflation swap relative to its fixed leg. It compares the arrangement with an interest rate swap: if realized inflation is negative, the floating return can be negative, so the…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains why sovereign credit default swap spreads in different currencies cannot be reliably harmonized using only interest rates. In an idealized setting with liquid, efficient markets, one could infer risk-neutral default probabilities using…

Fixed incomeDerivatives pricingMulti-asset
Quant Q&A

The document explains how to describe a move in Treasury yields and what a yield to maturity represents. For a change from 1.00% to 1.10%, it favors stating the difference in percentage points, commonly expressed as 10 basis points, rather than a percentage…

Fixed incomeUS marketsRisk management
Quant Q&A

The document examines whether a Federal Reserve rate cut is simply the result of bond purchases that raise bond prices and lower yields. The responses explain that the Fed announces a target for interest rates and uses its operations to steer prices and…

Fixed incomeUS markets
Quant Q&A

The document explains how a near at-the-money payer and receiver swaption pair behaves as the underlying forward swap rate moves. Its initial delta is approximately zero, though the exact value depends on the pricing setup; spot-premium treatment can also…

Fixed incomeOptionsVolatilityDerivatives pricing