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 addresses why a drift adjustment may appear unnecessary when changing from the money-market account numeraire to a zero-coupon bond maturing at the payoff date. It defines the money-market account and bond price, then shows that with…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains that a mandatory break in an interest rate swap generally does not change the swap’s ordinary valuation or hedge. It can, however, reduce counterparty valuation adjustment and funding valuation adjustment charges because the contract is…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains how to obtain raw moments of a future short rate in the Cox–Ingersoll–Ross model by differentiating a conditional transform. It defines a function as the conditional expectation of the exponential of minus λ times the future rate. This…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document addresses unequal coupon amounts generated by QuantLib’s amortizing fixed-rate bond constructor when monthly payments start on the last day of a month. The example shows February’s short length shifting interest between adjacent payments, even…

Fixed income
Quant Q&A

The document considers adding vanilla interest rate swaps to an existing Monte Carlo VaR process for foreign exchange and commodities. The proposed simplified method estimates volatility and correlation from daily changes in par swap rates, simulates rate…

Fixed incomeMulti-assetRisk managementPortfolio construction
Quant Q&A

The document derives the value of a perpetual bond, or consol, that pays a fixed annual coupon. Under discrete annual compounding, the bond’s price is the sum of each future coupon discounted by the corresponding power of one plus the required rate. Treating…

Fixed incomeStatistics
Quant Q&A

The document considers how to assess a proposed interest-rate cap volatility surface for arbitrage. A cap consists of caplets, and the response recommends stripping caplet values from cap prices across maturities. In a simplified setting with a flat yield…

Fixed incomeOptionsVolatilityArbitrage
Quant Q&A

The document asks how to estimate future values for a portfolio containing a stock, a long-term coupon bond, and a European call option. It provides example daily inputs for the stock price, required yield, volatility, and short-term interest rate, and asks…

Multi-assetPortfolio constructionBacktestingDerivatives pricing
Quant Q&A

The document works through a derivation of the price dynamics of a zero-coupon bond in the Ho–Lee short-rate model. The question starts from the model's short-rate process and a conditional expectation representation of the bond price, then applies Itô's…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to convert a bootstrapped Ibor discount-factor curve into zero rates. It contrasts simple interest conversion, where the discount factor uses a linear accrual term, with annual compounding, where the rate is exponentiated by the…

Fixed incomeStatistics
Quant Q&A

This document explains the convention used by QuantLib's zero-yield structure when it converts a zero rate into a discount factor. The implementation applies the exponential discount formula, which corresponds to continuous compounding. The question is…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how to build a zero or spot curve from two observations: one-year and three-year zero-coupon swap rates. It explains that interpolation is underdetermined because the observed rates do not reveal the path of intermediate forward rates. Two…

Fixed incomeStatistics
Quant Q&A

The discussion asks whether U.S. Treasury cash flows should be discounted using SOFR or a security-specific repo curve. One answer emphasizes that Treasuries are liquid and trade at observable market prices, so practitioners generally do not need to infer…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

A default indicator for one borrower can be modeled as a Bernoulli trial. For a portfolio of loans, the default count is binomial when defaults are treated as independent trials with a common probability. This gives a straightforward way to describe…

Fixed incomeStatisticsRisk management
Quant Q&A

The document compares buying a one-year S&P 500 index future with buying a six-month future and replacing it with another six-month contract at expiry. The question assumes the six-month funding rate stays static and that profit earned during the first…

FuturesFixed incomeRisk management
Quant Q&A

The document clarifies what to do when a requested maturity falls outside the known terms used by a raw yield-curve interpolation formula. Such a case is extrapolation rather than interpolation, because the desired point lies beyond the range of observed…

Fixed incomeStatistics
Quant Q&A

The question describes a two-factor Hull–White short-rate model in which the short rate combines a deterministic shift, calibrated to the initial forward curve, with two mean-reverting Gaussian factors. It asks how to update the entire forward curve through…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion distinguishes modeling returns under the real-world probability measure for risk analysis or portfolio construction from modeling under the risk-neutral measure for derivatives pricing. For observed log returns, estimate the mean and variance…

Fixed incomeForexStatisticsDerivatives pricing
Quant Q&A

The discussion explains why swap desks may maintain several interest rate curves. In a multicurve framework, an overnight indexed curve is used to discount future cash flows, while separate curves estimate the future fixings that determine floating-leg…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a credit recovery rate may be reported on a discounted basis. A recovery rate measures the share of an obligation ultimately repaid after default. Because insolvency proceedings can delay payments and recoveries may arrive in…

Fixed incomeRisk managementStatistics
Quant Q&A

The note frames a catastrophe bond from the insurer or sponsor’s perspective as a way to transfer catastrophe risk and reduce the need to hold capital against adverse events. The economic comparison is between the cost of issuing the bond and the cost of…

Fixed incomeRisk management
Quant Q&A

The document outlines a proposed approach to building a central bank meeting-date curve from overnight indexed swap quotes. It starts with overnight and monthly OIS rates, adjusts them using the spread between the policy target and the effective overnight…

Fixed incomeFuturesStatistics
Quant Q&A

The document addresses a one-factor Hull–White calibration that fits mean reversion and a single volatility parameter to market normal-volatility quotes for at-the-money swaptions. The reported fit is poor across quotes, raising the question of how to…

Fixed incomeVolatilityDerivatives pricing