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 asks why a floating payment set and paid at the beginning of its accrual period needs a convexity adjustment, since the rate is not yet known before reset. The main answer derives the value of a single Libor payment under a forward measure, then…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The discussion derives a pathwise solution for a bond process that grows at an adapted short rate between jumps and changes multiplicatively when jumps occur. For a compound Poisson jump process with jump sizes Z, each jump multiplies the pre-jump bond value…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The discussion questions whether the Libor Market Model’s link between a Libor rate and a zero-coupon bond price is realistic, given perceived differences between Libor and Treasury bill movements. The response distinguishes short-term co-movement from daily…

Fixed incomeStatisticsDerivatives pricingUS markets
Quant Q&A

The document asks how to report the value of each caplet or floorlet inside a QuantLib cap or floor, including intrinsic and time value at each fixing date. The example code prices the whole instrument, then attempts to reconstruct per-period values from leg…

Fixed incomeOptionsDerivatives pricingExecution
Quant Q&A

The document addresses a discrepancy in a calculation of accrued interest on semiannual Treasury bonds. The original approach approximates each coupon period as 180 days and computes accrual from a count of months. The accepted response identifies the key…

Fixed incomeStatistics
Quant Q&A

The document asks how the risk-neutral measure differs in practice from the T-forward measure. It identifies their numeraires: the risk-free asset for risk-neutral pricing and a zero-coupon bond maturing at time T for T-forward pricing. Its central question…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document poses a question about why banks may use Monte Carlo simulation to implement a bottom-up covariance model for credit portfolios instead of relying on an analytical approach. It identifies loss correlation as an input that must be estimated and…

Fixed incomeRisk managementStatisticsBacktesting
Quant Q&A

The document outlines a way to test a cross-sectional momentum strategy on monthly bond data. At each rebalancing month, use each eligible bond’s return over the defined lookback period to rank the universe and assign bonds to ten portfolios, from past…

Fixed incomeMomentumBacktestingPortfolio construction
Quant Q&A

The document examines a mismatch between a QuantLib valuation and a Bloomberg valuation for a CZK swap. Most payment dates match, but a reset date associated with an interpolated forward rate differs. The questioner suspects FRA setup, while the response…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses ways to obtain a long history of returns for the Bloomberg US Long Treasury index when direct access to Bloomberg data is unavailable. One suggested proxy is the Goyal and Welch dataset, which draws long-term government bond yields and…

Fixed incomeUS marketsStatistics
Quant Q&A

The document explains how pooling loans and dividing their cash flows into senior and junior tranches can make senior claims less exposed to losses than the underlying loans. Its illustrative example assumes two mortgages with independent default risks: the…

Fixed incomeRisk managementStatistics
Quant Q&A

The discussion explains why zero-coupon Libor swaps can create convexity and hedging costs when their compounded payments are valued using a Libor curve but discounted using an overnight reference curve. The answer focuses on dealer risk management: a dealer…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

This overview compares several stochastic processes used in quantitative finance and explains how their dynamics suit different modeling tasks. Geometric Brownian motion has continuous positive paths and lognormal marginals, making it the basis of…

StatisticsVolatilityDerivatives pricingFixed income
Quant Q&A

The document asks for a complete derivation of the transition distribution of the Cox–Ingersoll–Ross process. It notes the commonly stated result that the distribution is noncentral chi-squared and identifies the Kolmogorov forward, or Fokker–Planck,…

StatisticsFixed income
Quant Q&A

The document addresses how to interpret the three-month Treasury bill yield series obtained through quantmod from FRED. The response identifies the quoted rate as an annualized bank discount yield, calculated on a 360-day year and a discount basis, rather…

Fixed incomeUS markets
Quant Q&A

The document explains how yield relative to the 6% conversion-factor benchmark can change which bond is cheapest to deliver in a futures contract. A conversion factor is the bond’s clean price at a 6% yield. To compare delivery candidates at a market yield,…

Fixed incomeFuturesDerivatives pricingRisk management
Quant Q&A

The document explains how to estimate 10-day historical-simulation VaR for a fixed-for-floating interest rate swap when only a history of swap rates is available. Under a single-curve assumption, bootstrap the swap rates into historical zero curves; the…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document explains how to estimate a forward-starting swap rate from annual par swap rates. One response offers a rough linear interpolation-style calculation from the two-year and five-year par rates, while acknowledging that it is approximate. A more…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses limiting turnover when optimizing a bond portfolio for option-adjusted spread (OAS) subject to duration and other constraints. Given current weights, the accepted approach expresses a turnover cap as a bound on the sum of absolute…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document presents a proposed way to compare bundles of peer-to-peer consumer loans that have not matured. The available data include borrower characteristics recorded at origination and payment histories observed to date. The questioner seeks a valuation…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

A mid-curve swaption expires before its underlying swap begins, so its implied volatility cannot be read directly from the ordinary swaption volatility surface. The document describes a way market makers can estimate it by treating the forward-starting swap…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

Non-TBA mortgage-backed securities are over-the-counter instruments, so buyers and sellers can agree to settle on dates of their choosing. Accrued interest and the timing of payments from the underlying mortgage collateral can make some dates operationally…

Fixed incomeExecutionMarket microstructure
Quant Q&A

The answer shows how to construct a government-bond yield curve in QuantLib Python using bond helpers and several piecewise interpolation choices. It prepares Portuguese government bond data with maturities, coupons, and prices, sets a valuation date and…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The discussion examines whether outstanding credit default swaps create an accumulating liability for protection sellers when a reference company defaults. It distinguishes the number of contracts from the underlying credit risk: CDS positions transfer risk…

Fixed incomeDerivatives pricingRisk managementStatistics