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

Bond prices reflect more than scheduled cash flows. Even bonds with very low default risk can move as investors change their demand for safe assets or revise expectations for monetary policy. For riskier government and corporate debt, yield spreads over a…

Fixed incomeDerivatives pricingArbitrageRisk management
Quant Q&A

The document presents practical ways to estimate the parameters of the Vasicek short-rate model without relying only on an unconstrained fit to bond prices. One approach discretizes the model into an approximate AR(1) process and matches theoretical and…

Fixed incomeStatisticsDerivatives pricingRisk management
Quant Q&A

The document explains how TIPS can produce a positive nominal return despite a negative real yield, while still failing to preserve purchasing power. At maturity, inflation adjusts principal, but the adjusted payment may not offset the purchase price; the…

Fixed incomeUS marketsDerivatives pricing
Quant Q&A

The document asks whether refinancing should be triggered by a simple comparison between lower interest payments and refinancing fees. It presents consumer heuristics for fixed-rate mortgages, including refinancing when market rates fall by a threshold or…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

A unilateral extinguisher is a swap portfolio that may be canceled after a credit event affecting one counterparty. Whether it ends depends on whether its mark-to-market value is above a contractually set threshold; a recovery payment may also apply. This…

Derivatives pricingFixed income
Quant Q&A

The note works through a 97.5% expected shortfall calculation for two independent bond portfolios. Each portfolio has two possible loss amounts, and independence lets the combined outcomes be enumerated: both portfolios incur the smaller loss, one incurs…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document considers a perpetual monthly payment obligation issued in exchange for an initial cash amount, with the issuer able to terminate it after a waiting period by repaying that original amount. It identifies the arrangement with a perpetual bond or…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document examines whether arbitrage-free pricing forces zero-coupon bond prices or spot rates to move monotonically with maturity. The question derives a presumed declining spot-rate curve from an assumed monotonic increase in bond prices, then notes…

Fixed incomeStatisticsArbitrage
Quant Q&A

The document explains why the choice of discount rates changes a bond duration measure. Traditional Macaulay duration discounts each cash flow using the bond’s single yield to maturity, then weights its payment time by the present value of that cash flow…

Fixed incomeRisk managementStatistics
Quant Q&A

The answer explains asset liability management through the example of a pension plan, where invested assets must support future benefit payments. Liability assumptions include the size and timing of payments, mortality, inflation, and potentially political…

Portfolio constructionRisk managementFixed income
Quant Q&A

The question sets up a discretized forward-rate model in which each forward is lognormal under its associated zero-coupon bond measure. It derives the resulting normal distribution for the log forward at its fixing date and uses that distribution to motivate…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The answer models an interest rate swap as an asset leg and a liability leg, then expresses generalized duration as the asset value times its duration minus the liability value times its duration. The sign reflects the liability’s negative contribution to…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion asks whether a floating-rate note’s discount margin (DM) change can approximate its credit-related return, in the way spread changes and duration are used for fixed-rate bonds. One proposed method estimates the bond’s price sensitivity to a…

Fixed incomeRisk managementCarry
Quant Q&A

The document explains how derivatives can change a borrower’s practical liquidity and recovery profile even when derivative claims rank equally with senior debt in bankruptcy. Under collateral agreements, a firm may have to post cash or securities as market…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The discussion distinguishes policy rates, interbank rates, and other borrowing rates, then explains how changes in interest rates can relate to currency values. One answer describes the chain from central bank rates to bank and business borrowing costs,…

ForexFixed incomeArbitrage
Quant Q&A

The document asks whether credit markets have a volatility index comparable to familiar measures for equities and interest rates. Its answer points to four daily implied-volatility measures covering North American investment-grade and high-yield CDX indices,…

Fixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains why the calendar spread between nearby German government bond futures can differ from zero and why rolling a position has a cost. Ignoring delivery options and margining, a bond future can be approximated as a forward whose fair value…

Fixed incomeFuturesCarryExecution
Quant Q&A

The document describes a credit-risk data preparation workflow for estimating probability of default. The example defines a default event from arrears, term-expiry, or bankruptcy indicators, recodes the outcome for modeling convenience, and uses stratified…

Fixed incomeStatisticsMachine learning
Quant Q&A

The document considers how to value a fixed-for-floating swap whose floating leg references a rate other than LIBOR, with a CNY example. It explains that the appropriate discount curve depends on the transaction’s collateral terms: for fully collateralized…

Fixed incomeDerivatives pricingChina markets
Quant Q&A

The document asks how Markit defines spot dates for several currencies and how intermediate discount factors enter swap-curve bootstrapping. Its central example is a two-year EUR swap: the coupon schedule needs an 18-month discount factor, while quoted LIBOR…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses how to estimate continuous-time credit rating migration dynamics from observed rating histories. It contrasts discrete-time cohort transition matrices, formed from beginning-to-end rating changes over a period, with a continuous-time…

Fixed incomeStatisticsRisk management
Quant Q&A

The note addresses where to find historical corporate bond yield series, especially across credit ratings and maturities. It identifies FRED as a free source for some ICE Bank of America credit index data, including a high-yield index series. Such index data…

Fixed incomeStatisticsUS markets
Quant Q&A

The document discusses assets that can have positive expected returns while their deviations from those trends are negatively correlated. It distinguishes this pattern from pairs trading, which generally seeks to profit from relative performance, and frames…

Portfolio constructionRisk managementPairs tradingEquities
Quant Q&A

The document explains how to translate a credit default swap quote stated in points or as an upfront price into the market standard annual spread, usually expressed in basis points. It identifies the CDS standard model as the conversion method rather than…

Fixed incomeDerivatives pricing