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 derives the fair delivery price for a forward contract on a zero-coupon bond. If the underlying bond matures at t2 and delivery occurs at t1, the forward price at an earlier time t is the current price of the t2 bond divided by the current price…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The example calculates 95% expected shortfall for a portfolio of two independent bonds, each with a 2% default probability, $100 face value, and zero recovery. The possible losses are $0, $100, and $200, with probabilities obtained from a binomial model. To…

Fixed incomeRisk managementStatistics
Quant Q&A

The document asks how to obtain a discount curve when the short rate follows a Vasicek model. It starts from the model’s analytical zero-coupon bond price, expressed using deterministic maturity-dependent functions and the current short rate. Applying the…

Fixed incomeDerivatives pricing
Quant Q&A

This question explains why a QuantLib piecewise yield curve depends on the global evaluation date even when a calendar, reference date, or function-specific date is supplied. The answer says the curve uses the evaluation date to determine when the deposit,…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to construct a bond’s scheduled coupon dates from maturity. For a bond paying every six months, dates are stepped backward from maturity in calendar-month increments, rather than by counting half of a year’s days. The resulting…

Fixed incomeStatistics
Quant Q&A

The document contrasts how corporate and public pension plans account for liabilities and asks whether public plans need tail-risk protection. Under the simplified description, corporate plans discount liabilities using market interest rates, so rate changes…

Fixed incomeRisk managementOptionsPortfolio construction
Quant Q&A

The document considers how to combine a coupon bond and a perpetuity to create a portfolio with zero duration. It identifies an error in multiplying weighted durations and replaces it with a linear duration condition: the sum of each bond’s weight times its…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document derives modified duration from the present value of a bond’s coupon payments and principal. It differentiates the bond price with respect to yield to obtain the absolute price sensitivity, then divides by price and changes the sign to express…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document sets up a two-bond credit portfolio and asks how to calculate its Expected Shortfall across confidence levels. Each bond has a stated market price, default probability, recovery amount, and independent default event. Those assumptions define a…

Fixed incomeRisk managementStatistics
Quant Q&A

The document answers a question about locating LIBOR and overnight indexed swap rates for constructing an OIS discount curve. It distinguishes OIS swap rates from the questioner's phrasing of OIS zero-coupon bonds, and points to commercial market-data…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The document addresses whether a reverse convertible coupon should exceed the sum of a risk-free rate and the premium from a short put because the put premium could earn interest after inception. The answer emphasizes that a buyer purchases a packaged…

OptionsDerivatives pricingFixed income
Quant Q&A

The document asks about common specifications for forward-rate volatility in the Heath–Jarrow–Morton (HJM) framework, with particular interest in two- and three-factor models used in industry. It gives one example: instantaneous forward-rate volatility…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains what the single stochastic driver in a one-factor short-rate model represents. It distinguishes the short rate, which the model describes, from the Wiener-process shock, which represents new information that could not have been…

Fixed incomeMean reversionStatistics
Quant Q&A

The document offers practical advice to a junior analyst who finds the many concepts and terms used on a bond trading desk difficult to follow. It emphasizes that fixed-income work depends not only on academic knowledge but also on market conventions,…

Fixed incomeFutures
Quant Q&A

The document examines why least-squares Monte Carlo (LSMC) regression often uses only in-the-money paths when valuing American options, and how to adapt path selection to callable convertible bonds. The explanation frames this filter as a way to omit paths…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains the roles of time-dependent parameters in the Hull–White short-rate model. A time-varying drift term can fit the initial yield curve, but matching that curve alone does not ensure accurate prices for more complex interest-rate products,…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The note proposes a way to value backward-looking compounded risk-free-rate caplets when a liquid volatility surface is available for forward-looking LIBOR options. It separates the problem into estimating the relationship between LIBOR and RFR volatility,…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to read a Bloomberg-style rate label that combines a three-month LIBOR reset tenor with a 25-year maturity. The three-month period describes the floating leg’s rate-setting interval; it does not mean the quoted rate is simply an…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The document addresses how to interpret and value a bond whose interest is paid only at maturity. Its example asks whether a stated annual coupon rate should accrue simply over the bond’s life, be compounded, or represent the total interest paid at maturity.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document raises a valuation question about a cleared cancellable interest rate swap with Bermudan-style early termination rights. The term sheet does not identify which party owns the termination option, and the questioner asks whether the option holder…

Fixed incomeDerivatives pricingOptionsRisk management
Quant Q&A

The document asks whether a conditional expectation identity involving two zero-coupon bond prices and a tradable asset’s future value holds under any probability measure. The proposed intuition is that the product of bond prices across adjacent maturities…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The question examines the BlackCallableFixedRateBondEngine in QuantLib using a zero-coupon callable bond with a call price well below the bond's expected value, a nearly zero volatility, and a flat interest-rate curve. The author expects the bond's value to…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document distinguishes the ordinary valuation of a repo from the risks associated with its collateral. In the explanation provided, a repo’s loan cash flows are valued using the repo rate in the currency of the cash advanced. If those cash flows are…

Fixed incomeForexRisk management
Quant Q&A

The document raises a fixed-income valuation problem: how to calculate yield to maturity, dirty price, duration, and related measures for a bond that pays coupons on a nonstandard interval. It describes a QuantLib setup with a 26-week schedule, a Russian…

Fixed incomeStatistics