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
WonderTrader
14 documents
Alphalens
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 how to use SOFR as the risk-free rate when calculating portfolio statistics such as the Sharpe ratio. The question arises from a multifactor portfolio project using weekly price data and asks whether a quoted SOFR value represents a…

Portfolio constructionRisk managementFixed income
Quant Q&A

The document explains why a bond’s annualized horizon return may remain close to its original yield after an immediate parallel yield shift, especially when the investor holds the bond to maturity. A duration-based estimate says a 100 basis point yield…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document analyzes a capped S&P 500 protection note with a fixed minimum payment, upside participation above the initial index level, and a maximum payout. It represents the payoff as a zero-coupon bond plus a call spread: long a call at the initial index…

OptionsDerivatives pricingEquitiesFixed income
Quant Q&A

The document distinguishes nominal risk-free interest rates from inflation and explains that their difference is the real interest rate. It argues that nominal rates can be higher or lower than inflation and cites historical short-term rate proxies,…

Fixed incomeStatisticsRisk management
Quant Q&A

The document examines how a bond cash flow projection system might assign market values across long interest-rate scenarios without fully repricing every security each month. It describes a common computational compromise: perform full repricing at spaced…

Fixed incomeCommoditiesRisk managementStatistics
Quant Q&A

The document asks whether a two-stage regression is appropriate for local government bond yields and their potential determinants when explanatory variables experience structural breaks at different times. The proposed approach groups variables with similar…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document explains why a Treasury futures duration estimate based on the cheapest-to-deliver bond is divided by that bond’s conversion factor. First, estimate the CTD bond’s duration in forward space using the futures delivery date as settlement and the…

FuturesFixed incomeRisk management
Quant Q&A

The document presents a QuantLib setup for valuing a fixed-rate bond today and a forward contract that delivers the bond on a later date. Its example describes an already-issued ten-year bond with semiannual coupons, then constructs a schedule, a fixed-rate…

Fixed incomeDerivatives pricing
Quant Q&A

The document asks how to estimate the four parameters of a Nelson–Siegel yield curve by minimizing squared differences between model-implied bond prices and observed market prices. Each model price discounts the bond’s cash flows using a rate determined by…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document describes a basic way to compare credit portfolios across two observation periods. Match customer records by ID, calculate changes in economic capital for matched customers, and create a cross-tabulation of prior and current ratings to summarize…

Risk managementStatisticsFixed income
Quant Q&A

The document discusses how mean reversion in an Ornstein–Uhlenbeck process relates to autoregressive and moving-average time-series models. Its answer identifies the sum of the autoregressive coefficients in an AR(p) model as governing mean-reverting…

StatisticsMean reversionFixed income
Quant Q&A

The document raises questions about applying risk-neutral and numeraire-based pricing when securities are collateralized. It describes the standard setup in which a fully collateralized payoff in the same currency is discounted using the collateral rate, and…

Fixed incomeDerivatives pricing
Quant Q&A

The document examines why discount factors inferred from six- and twelve-month USD LIBOR do not reproduce a one-year swap rate in a simple semiannual swap equation. The discrepancy is explained as a tenor basis: a term LIBOR deposit and a swap referencing…

Fixed incomeFuturesArbitrageRisk management
Quant Q&A

The document explains how SOFR futures prices are tied to realized overnight rates during their reference period. For one-month contracts, the settlement rate is the arithmetic average of observed SOFR rates; for three-month contracts, it is based on daily…

FuturesFixed incomeUS markets
Quant Q&A

The document raises a practical curve-building question: how to bootstrap discount factors from a deposit, forward rate agreements, and longer-dated swap quotes. The student reports discount factors for the short instruments but is unsure how to derive the…

Fixed incomeStatistics
Quant Q&A

The document explains why fixed-income charts commonly display yields or spot rates instead of bond prices. Prices depend on coupon schedules, maturities, and face values, so two bonds with different cash-flow structures can trade at the same price even when…

Fixed incomeStatistics
Quant Q&A

This question asks how to express a foreign short-rate model under the domestic risk-neutral measure so both domestic and foreign rates can be simulated consistently. It introduces correlated Brownian motions under different measures and a spot FX process…

ForexFixed incomeStatistics
Quant Q&A

The document discusses how credit risk changes the valuation of a floating-rate corporate bond. A risk-free floating-rate valuation may project coupons using forward rates and discount them on a reference curve, but a risky issuer introduces default and…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion asks how a trader should decide whether to exercise a physical Bermudan swaption as an exercise date approaches. The accepted answer distinguishes a necessary condition from a sufficient exercise rule. For a receiver swaption, exercising at an…

Fixed incomeOptionsDerivatives pricingRisk management
Quant Q&A

This brief question challenges the idea that retail investors can reliably secure a currently high yield by buying long-term bonds and holding them to maturity. It argues that investors without fixed, matching liabilities remain exposed to inflation and may…

Fixed incomeRisk managementPortfolio construction
Quant Q&A

This note addresses constructing Australian dollar and Canadian dollar zero curves after the relevant LIBOR settings ceased publication. It identifies BBSW for AUD and CDOR for CAD as replacement reference rates and explains the basic principle for sourcing…

Fixed incomeStatistics
Quant Q&A

The note compares a bond-plus-equity-option approach to valuing convertible bonds with a binomial approach that models both debt and equity features. In the simpler method, the value is treated as the sum of a straight bond and a call option on the…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The note explains how QuantLib’s `growthOnly` setting changes a CPI-linked bond’s principal repayment at maturity. With the setting false, the bond returns the original notional adjusted by the ratio of the maturity inflation index to the initial index. With…

Fixed incomeDerivatives pricing