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
Quantpedia
86 documents
TqSdk
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 document addresses why the spread sensitivity of a credit default swap (CDS) may be close to that of a par bond from the same issuer. It distinguishes standardized CDS contract terms from the market quote: a CDS may carry a standard running coupon plus…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document describes how to estimate expected positive exposure (EPE) for an interest rate swap at each date in a Monte Carlo simulation. Once the swap value is known on every simulated path, EPE is the average of the positive parts of those values. If a…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document explains how a bond dealer can fill a customer purchase when it does not already hold the bond. A dealer may draw on existing inventory, buy the bond after the sale, or borrow it through the repo market so it can deliver on time. Selling first…

Fixed incomeMarket makingExecutionRisk management
Quant Q&A

The document discusses risks faced by life insurers, focusing on interest rates and longevity. It explains that insurers may promise benefits linked to returns or prevailing rates while holding assets such as bonds. When market rates rise, existing…

Fixed incomeRisk management
Quant Q&A

The document shows how to calculate a portfolio’s one-year expected credit loss when it contains bonds with different ratings, default probabilities, and recovery rates. For each bond group, it multiplies exposure at default by probability of default and…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

The document addresses whether inflation should be multiplied into a discount factor alongside the risk-free rate and a credit spread. Its explanation is that the nominal risk-free rate already reflects inflation in part: when inflation is high, the…

Fixed incomeStatistics
Quant Q&A

The document poses a modeling question about combining mean reversion in interest rates with ARCH-style conditional variance. It starts from the continuous-time Vasicek process, whose solution can be used to derive the rate’s expectation and variance, then…

Fixed incomeVolatilityStatistics
Quant Q&A

The document examines why a callable floating-rate bond cannot be priced reliably by combining a standard floating-rate bond with a callable fixed-rate bond calculation. The proposed shortcut extracts floating coupons and optionlet values, then inserts them…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

The document explains the likelihood ratio used to change from a physical probability measure to a risk-neutral measure in a geometric Brownian motion model. It corrects a sign convention for the shifted Brownian motion and shows that, for constant market…

StatisticsDerivatives pricingFixed income
Quant Q&A

The document addresses whether observed three-month forward rate agreements can be used to bootstrap a six-month interbank rate curve. Its central point is that three-month instruments alone do not reveal the spread between three-month and six-month rates.…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how unilateral credit value adjustment (CVA) can be written in continuous time as the expected discounted loss if a counterparty defaults before a deal matures. The loss depends on exposure at the moment of default and the loss given…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document asks how the forward-rate volatility specification in a general stochastic-volatility term-structure model can produce a Markovian model. It contrasts the HJM condition that Markovian forward-rate volatility be separable into a time-dependent…

Fixed incomeVolatilityStatistics
Quant Q&A

The document considers how to build a Fed Funds yield curve with separate interpolation methods: log-linear interpolation of discount factors between FOMC meeting dates on the short end, and a cubic spline for longer maturities. The practical issue is that…

Fixed incomeUS marketsStatistics
Quant Q&A

The document explains why a yield curve alone cannot determine the market price of a European call on a zero-coupon bond. The curve supplies discount factors and forward rates, which are enough to value fixed cash flows and instruments built from them. An…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document explains a rate-options structure called a wedge: a long at-the-money cap or floor straddle paired with a short at-the-money swaption straddle. It describes the trade as having exposure to both correlation among short-term forward rates and…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document addresses pricing a European call option on Spanish CPI and outlines a framework for modeling inflation derivatives. It describes jointly modeling nominal interest rates, real interest rates, and inflation, with inflation treated in a way…

OptionsFixed incomeDerivatives pricing
Quant Q&A

This discussion considers the break-even sale price for an asset that produces rent assumed to rise with inflation, when sale proceeds would pay down debt. It compares the rental cash flow with the borrowing cost and uses a finite growing-annuity example to…

Fixed incomeStatisticsRisk management
Quant Q&A

This note explains why higher default correlation can reduce the spread on a CDO junior tranche even as it raises the tranche’s value. Correlation shifts the distribution of portfolio defaults toward both extremes: more cases with few or no defaults, and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document raises a valuation question about switching from a fixed-rate bond combined with a swap into a floating-rate bond issued by the same borrower with matching notional and maturity. Although both positions appear to provide floating cash flows over…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

This note explains how to represent a foreign-currency forward as a position in a foreign zero-coupon bond and an offsetting position in a domestic zero-coupon bond. If the exchange rate is quoted as domestic currency per unit of foreign currency, the…

ForexFixed incomeRisk management
Quant Q&A

The document asks for a source that explains mortgage valuation as a function of default and prepayment assumptions, including standard measures such as PSA and SMM. It is aimed at a student who wants to explain how these assumptions affect mortgage pricing,…

Fixed incomeStatistics
Quant Q&A

The document considers hedging a corporate bond’s credit exposure with a credit default swap and discusses hedge sizing and effectiveness testing. It recommends examining credit spread sensitivity across the term structure, including credit risk measures…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The question concerns simulating a reverse convertible note on a US Treasury bill using Bloomberg’s DLIB and its BLAN scripting templates. The answer doubts that a Treasury bill is supported as an underlying in DLIB, citing the possible absence of a…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains how the implicit function theorem can translate changes in market quotes into changes in calibrated parameters. For a Nelson-Siegel-Svensson curve fitted by minimizing squared rate errors, it starts from the optimizer’s first-order…

Fixed incomeStatisticsRisk management