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

Search the library

5,701 documents

Quant Q&A

The note explains how to obtain a daily grid of forward rates from an interpolated overnight indexed swap curve in QuantLib. The original approach queried forward rates only at the curve’s node dates, so it returned a sparse set of values. The proposed…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note describes how to convert an interest rate quoted with one compounding frequency and day-count convention into an equivalent rate under another convention. First calculate the accrual year fraction for the relevant dates under the source convention,…

Fixed incomeStatistics
Quant Q&A

The document presents a numerical question about applying the Merton structural credit model to estimate a firm's asset value, asset volatility, default probability, and recovery rate from equity value, debt, equity volatility, the risk-free rate, and time…

Fixed incomeStatisticsRisk management
Quant Q&A

The document raises a portfolio-hedging question: how to account for correlations between international bond returns and foreign-exchange carry returns when choosing currency hedge positions. It defines the relevant series as asset log returns and carry…

Fixed incomeForexCarryPortfolio construction
Quant Q&A

The document asks how to calculate the conditional expected value and variance of the accumulated short rate between two future times under the Vasicek model. It begins with formulas for the integral from time zero to a given horizon, then obtains the…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document concerns choosing which retail credit portfolios to retain or sell when only aggregate portfolio information is available and borrower-level records are not. Its response points toward loss given default (LGD) modeling as a relevant area of…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document poses a valuation problem for a contingent payment tied to a bond’s credit-rating deterioration. It specifies a monthly rating transition matrix, a maturity horizon, continuous discounting, and a rule that pays when the bond first falls below…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document explains how to interpret the three maturity-dependent loadings in the Nelson–Siegel model of the yield curve. Its factors represent level, slope, and curvature: the constant loading applies across maturities, while the other two functions shape…

Fixed incomeFactor investingStatistics
Quant Q&A

The document explains why option values generally depend on both the underlying price and time, so they are described by a partial differential equation rather than an ordinary differential equation. It then gives perpetual American options as an important…

OptionsDerivatives pricingFixed income
Quant Q&A

The answer explains the Federal Reserve’s discrete policy-rate decisions in terms of its data-dependent approach and mandate to support price stability and maximum employment. Inflation, employment, and output indicators arrive at different frequencies, so…

Fixed incomeUS marketsEvent-drivenRisk management
Quant Q&A

The example asks why a portfolio beta estimated by regressing portfolio returns on market returns might not equal the weighted average of the individual asset betas. It constructs portfolio returns from two bond price series using weights based on estimated…

Fixed incomePortfolio constructionStatistics
Quant Q&A

The document considers whether a coupon bond maturing on the same date as a zero-coupon bond should have a higher or lower yield, given an upward-sloping set of zero-coupon prices. It explains that a bond’s yield to maturity is the single rate that discounts…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document outlines an affine term structure model in which log bond prices are linear functions of latent factors. With as many observed yields as factors, the factor vector can be recovered from yields by inverting the model’s loading matrix, assuming…

Fixed incomeStatisticsMachine learning
Quant Q&A

The discussion addresses how floating-rate products changed after the transition from LIBOR to SOFR, focusing on floating-rate notes and interest rate swaps. For floating-rate notes, it describes using compounded SOFR fixings from the coupon period with a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion outlines a basic process for benchmarking a mortgage-backed securities portfolio. First, choose a relevant index, with U.S. mortgage benchmarks given as examples. Then compare portfolio data with benchmark data, taking care that the holdings…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document clarifies terminology for describing an interest rate swap using two periods: the time from the relevant spot or evaluation date to the swap’s effective date, and the period from effective date to termination, commonly called the tenor. It…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why desks may use SABR alongside Black-76 or Bachelier pricing for vanilla swaptions and other interest rate options. In this account, the vanilla pricing formula supplies the option value, while SABR models how implied volatility…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document raises a model-selection question for estimating potential future exposure (PFE) on a vanilla interest rate swap. It considers Monte Carlo scenarios from a one-factor Hull–White model and questions whether its parallel curve shifts can represent…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The discussion addresses how to calculate Bartlett-adjusted vega when a QuantLib SABR swaption volatility cube derives its forward rates internally from a spot curve. Since the cube does not expose forward rates as direct inputs, the proposed workaround…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why a cumulative return comparison between IEF, a Treasury ETF, and front-month 10-year Treasury futures can be misleading. A continuous series of front-month futures prices may show a price gap when contracts are rolled, even though…

FuturesFixed incomeBacktestingRisk management
Quant Q&A

The discussion examines an apparent futures cash-and-carry opportunity when a Treasury futures contract’s implied repo rate exceeds the actual financing rate. It explains that the spread is not necessarily risk-free: the trade uses balance sheet and…

FuturesFixed incomeArbitrageRisk management
Quant Q&A

The discussion explains how to calibrate a Hull–White interest-rate tree for valuing callable bonds. It recommends using swaption volatility quotes when those instruments resemble the embedded options in the bonds, and suggests constructing an equivalent…

Fixed incomeDerivatives pricingVolatilityOptions
Quant Q&A

The discussion considers how to estimate default probabilities and loss given default for small firms without traded bonds or equities, when market-implied credit measures are unavailable. It describes two balance-sheet approaches: a Merton-style structural…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The discussion addresses whether buying a Eurodollar futures contract produces a gain when its quoted price is unchanged from entry through expiration. Its central point is that a buyer who enters at 99.80 and settles at 99.80 has no price-based profit or…

FuturesFixed incomeForex