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 distinguishes current coupon spread duration from option-adjusted spread (OAS) duration for mortgage-backed securities. Current coupon spread is the excess yield on the current coupon mortgage over a reference yield curve. Its duration is…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how currency hedging can affect the risk and return of foreign investments. Long-run studies cited in the discussion suggest hedging may leave returns similar while reducing volatility, which can benefit mean-variance investors. Over…

Multi-assetRisk managementPortfolio constructionCarry
Quant Q&A

A calendar spread between two bond futures can carry repo exposure even when both contracts have the same cheapest-to-deliver bond. The key mechanism is that contracts with different delivery dates respond differently to financing rates: the later contract…

FuturesFixed incomeCarryUS markets
Quant Q&A

The document explains why Treasury yields shown by financial media may differ from yields published by the US Treasury. It identifies differences in observation timing and in the instruments or methodology used. The Treasury figure is described as using bid…

Fixed incomeUS marketsStatistics
Quant Q&A

The document discusses sources for a fitted one-year real yield series for Treasury Inflation-Protected Securities (TIPS), sampled monthly, and notes that similar data may be available through bank research portals. Its main focus is a caveat: quoted real…

Fixed incomeUS marketsStatistics
Quant Q&A

This note describes a reported mismatch between a covariance matrix that appears positive definite under Cholesky decomposition and negative eigenvalues returned by a symmetric eigensolver. The matrix is built from historical forward-rate data imported…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document addresses how traders can identify economic announcements that move different markets, with a particular question about agricultural commodities. It cites a study examining the immediate responses of commodity prices and short-term Treasury bill…

CommoditiesFixed incomeEvent-drivenVolatility
Quant Q&A

The document addresses whether a futures position used to reduce a bond portfolio’s duration should be included when estimating portfolio yield to maturity. The response says to include it by using the future’s implied yield to maturity and assigning that…

Fixed incomeFuturesPortfolio construction
Quant Q&A

The discussion explains a first-order way to think about a bond’s return over a holding period: combine its yield with the price effect of changes in yield, scaled by the bond’s DV01. Roll-down return is a special case of that price effect, calculated under…

Fixed incomeCarryRisk management
Quant Q&A

The document addresses an apparent mismatch between simulated discount factors in a Hull–White one-factor Monte Carlo model and the market discount curve at the initial time. Its central point is that the model’s no-arbitrage setup is intended to reproduce…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The question concerns how to infer an equity’s local volatility when its drift is the short rate and that rate is stochastic. The author proposes adjusting market implied volatility on a forward for short-rate volatility, then asks whether cumulative…

EquitiesVolatilityFixed incomeDerivatives pricing
Quant Q&A

The document explains GSR as the Gaussian Short Rate model and gives its risk-neutral short-rate dynamics in mean-reverting form, with time-varying reversion, level, and volatility. It places GSR within the broader family of affine short-rate models, whose…

Fixed incomeDerivatives pricingStatisticsVolatility
Quant Q&A

The document investigates why changing a Euribor index tenor appears not to alter zero rates built from swap quotes in a QuantLib example. The explanation focuses on single-curve construction: the same curve is used both to estimate floating-leg forwards and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note clarifies how the continuously compounded yield of a zero-coupon bond relates to its log price. For a bond paying one unit at maturity after n periods, its price is the exponential of minus yield times maturity. Taking logarithms gives log price…

Fixed incomeStatistics
Quant Q&A

The discussion explains how overnight index swaps and Libor–OIS basis swaps relate to interest-rate curve construction. An OIS floating coupon compounds daily overnight fixings over the accrual period and annualizes the resulting compounded return. A basis…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion examines the value of a total return swap that either party may terminate during a performance period. It contrasts a discounted mark-to-market valuation for a non-cancellable swap with an accrual-style cancellation payoff. One answer argues…

Derivatives pricingEquitiesFixed incomeRisk management
Quant Q&A

The document describes a simple DV01 hedge for a five-year Treasury bond using a strip of three-month Eurodollar futures. First calculate the bond’s price sensitivity to a one-basis-point yield change. Then sum the DV01 of one contract at each maturity in…

Fixed incomeFuturesRisk management
Quant Q&A

The document discusses how accounting knowledge can matter across different quantitative finance roles. Its answers distinguish work focused on short-horizon research or derivatives pricing from roles involving fundamental equity selection, credit and…

EquitiesFixed incomeFactor investingStatistics
Quant Q&A

The document describes a proposed zero-investment stock portfolio in which each asset's weight depends on observable state variables, such as factors related to stock performance. This is the parametric portfolio policy approach associated with Brandt and…

Portfolio constructionEquitiesFixed incomeFactor investing
Quant Q&A

The document asks whether a position in three-month sterling LIBOR futures should be hedged with GBP/USD futures by matching the contracts’ full notionals. The reply challenges that approach by distinguishing a contract’s notional amount from the actual…

FuturesForexFixed incomeRisk management
Quant Q&A

The document asks how to model convexity adjustments for a payoff on the spread between two constant maturity swap rates when the rates are dependent. It notes that some approaches model each rate through an annuity mapping function and then use a copula to…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

The document poses a fixed-income question: how to lock in a one-year rate that begins three years from now using zero-coupon bonds with maturities from one to four years. It supplies annually compounded spot rates for each maturity and asks which bonds to…

Fixed incomeDerivatives pricing
Quant Q&A

The document shows how to calculate a final balance when each day has a different rate and interest compounds discretely. Starting from an initial principal, multiply the balance successively by one plus each day’s rate. The same calculation can be expressed…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document explains why near-zero short-term rates are usually a reason to begin quantitative easing, rather than a reason QE stops working. In the account presented, rate cuts first make cash funding cheaper and holding cash less attractive. Once short…

Fixed incomeMulti-assetRisk management