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 examines whether a spot date is unique to a currency or instead depends on the conventions of an instrument. It notes that spot dates are determined by both the spot lag and the business-day calendar used to count that lag. As an example, USD…

Fixed incomeMulti-asset
Quant Q&A

The document concerns adding principal redemptions that fall between coupon dates to an amortizing floating-rate bond in QuantLib. Assigning a redemption directly to the bond’s redemption list did not make the cash flow appear in the reported schedule. The…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to derive the value at an intermediate time of an FX forward whose underlying spot rate is simulated in a Monte Carlo model. It rewrites the value as the difference between the current forward exchange rate for maturity and the…

ForexDerivatives pricingFixed income
Quant Q&A

The answer proposes estimating future bond defaults with a Bayesian predictive distribution, then discounting expected losses at the investor’s marginal cost of funds. It illustrates the approach with a simplified all-or-nothing, zero-coupon bond model:…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document addresses whether the tenor of a LIBOR rate used for discounting should match a swap leg’s payment frequency. Its answer says that LIBOR is generally not the preferred discount curve for uncollateralized trades. Because LIBOR includes a credit…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion explains why calibrating a Bermudan swaption model only to coterminal European swaptions may miss important market drivers. A Bermudan’s exercise value can depend on swap rates and swaption prices across many expiries and tenors, including…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document raises a curve-construction question about combining SOFR futures at the front end with SOFR swaps at the longer end. It notes that centrally cleared swaps require daily cash variation margin and asks whether that feature makes their economics…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The document asks how to estimate the option-adjusted spread (OAS) of a portfolio when only the OAS of each security can be calculated. It identifies several possible weighting bases, including balance, duration, and dollar duration, but does not establish a…

Fixed incomeStatisticsPortfolio constructionRisk management
Quant Q&A

The document explains that the discount curve used to value a swap is connected to the collateral terms agreed by the counterparties. Those terms are set out in the Credit Support Annex, which forms part of the contractual arrangement governing collateral…

Fixed incomeDerivatives pricing
Quant Q&A

The document explores the meaning of a tradable asset in the numeraire pricing theorem, using short rates and interest rate models as examples. Under a measure associated with a chosen numeraire, the price of a tradable asset divided by that numeraire is a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks why a vendor’s chart of the difference between US and UK ten-year government bond yields changes when the spread is displayed in pounds instead of left as a simple yield subtraction. The reported explanation is that the currency setting…

Fixed incomeMulti-assetForex
Quant Q&A

This question asks whether to price caplets on one-month USD floating rates with a normal Bachelier model or a lognormal Black model. The instruments are caps intended to limit rate exposure on pay-floating, receive-fixed swaps, with floating payments…

OptionsFixed incomeDerivatives pricing
Quant Q&A

The document compares two ways to value cross-currency swap cash flows: convert foreign payments using FX forwards and discount in the base currency, or discount foreign payments on a basis-adjusted curve before converting at spot. The answers say these…

Fixed incomeForexDerivatives pricingArbitrage
Quant Q&A

The document examines whether a Dynamic Nelson–Siegel model can explain CDS curve PnL when individual tenor residuals vary sharply over time. Even with high regression fit, changing residuals can dominate the PnL of a concentrated tenor position, while…

Fixed incomeStatisticsDerivatives pricingRisk management
Quant Q&A

The document discusses which reference rate to subtract when calculating historical excess returns for a portfolio’s efficient frontier. It contrasts short Treasury bill rates, rates matched to the investment horizon, and rates based on historical…

Portfolio constructionRisk managementMulti-assetFixed income
Quant Q&A

This document compares two ways of writing a self-financing portfolio in a discrete-time market with a stock and a money-market account. In one convention, the bond position is expressed as the amount of money invested; in the other, it is expressed as the…

Fixed incomePortfolio constructionRisk management
Quant Q&A

This document collects suggested online lectures, conference talks, courses, and notes related to quantitative finance. The topics range from financial mathematics, risk-neutral pricing, delta hedging, and option strategies to volatility, interest rate and…

Derivatives pricingOptionsVolatilityFixed income
Quant Q&A

The document questions whether portfolio optimization should focus on present value in a base currency or on meeting future liquidity needs in specified currencies. It motivates the question with observations about negative interest rates and the relative…

Portfolio constructionFixed incomeRisk managementMulti-asset
Quant Q&A

The document explains when discrete and continuous compounding are used in cost-of-carry pricing for equity futures. Discrete rates are common in practice because real cash flows, such as bond coupons, occur at intervals. Continuous compounding is often…

FuturesDerivatives pricingFixed incomeStatistics
Quant Q&A

The document asks how Z-spread and discount margin differ when valuing fixed-rate and floating-rate bonds. It describes Z-spread as a parallel shift applied to the zero-rate curve and notes the common association of Z-spread with fixed-rate notes and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to estimate standard errors robust to heteroskedasticity and serial correlation in an OLS regression of monthly yield changes on the current yield. This is a time-series inference problem: conventional OLS standard errors may be…

Fixed incomeStatistics
Quant Q&A

The document surveys how option theory can represent real assets and corporate financing decisions. Models may combine the option to invest in growth, debt and equity issuance, and an endogenously chosen default threshold. This framework extends the…

OptionsFixed incomeDerivatives pricingRisk management
Quant Q&A

The document derives a forward rate from the expectation hypothesis under annually compounded rates. The hypothesis equates the compounded return from investing over a longer maturity at today’s spot yield with the product of the successive one-period spot…

Fixed incomeStatistics
Quant Q&A

The document raises a numerical modeling concern about the transition from LIBOR-linked instruments to SOFR-linked instruments. Since SOFR compounds and resets daily, a model that previously used monthly time steps for multi-year instruments may introduce…

Fixed incomeDerivatives pricingStatistics