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

This discussion considers how to measure a bond portfolio's sensitivity to a yield shift in one currency when the holdings are denominated in several currencies. A weighted average of bond modified durations describes sensitivity to a simultaneous parallel…

Fixed incomeMulti-assetRisk managementPortfolio construction
Quant Q&A

The note explains why a discount rate in discounted cash flow analysis can be viewed as a minimum acceptable return. It frames the rate as a risk-free benchmark: an investor can generally earn that return without taking risk, so a cash flow discounted at a…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document compares two ways to value a fixed-for-fixed FX swap under multiple curves. One approach discounts the foreign-currency leg using a curve adjusted for cross-currency basis, then converts its present value at spot. The other converts each foreign…

ForexFixed incomeDerivatives pricingArbitrage
Quant Q&A

The document addresses how to construct a hedge across two-, five-, and ten-year Treasury futures that is neutral to parallel shifts and changes in yield-curve slope. It describes running principal component analysis on a returns matrix and interpreting the…

FuturesFixed incomeStatisticsRisk management
Quant Q&A

The document poses a relative valuation problem: comparing callable bonds from the same issuer when their call schedules differ. It asks whether option-adjusted spread can be compared directly across those bonds, given that OAS accounts for embedded option…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document compares SOFR curve construction and cash-flow projection with legacy IBOR approaches. One answer says curve building still depends on the available liquid market inputs and chosen interpolation, while projecting cash flows follows the rate’s…

Fixed incomeDerivatives pricingUS markets
Quant Q&A

The document derives the value and duration of a semiannual floating-rate note with coupons reset to the prevailing six-month rate. Working backward from maturity, the answer shows that each reset-date value equals par: the principal and next coupon…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document asks where historical or current intraday prices for government bonds can be obtained. The response identifies Interactive Brokers as a source of historical intraday bond data and gives a T-bill as an example of a security checked. It also…

Fixed incomeExecutionBacktesting
Quant Q&A

The document discusses approaches to modeling concentration risk in credit portfolios within the Basel IRB context. One approach starts from the Asymptotic Single Risk Factor model and modifies it to align with Basel II, then compares sector concentration…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document asks how to compare credit risk for the same business partners across two periods. The described data include customer identifiers, ratings, rating-based default probabilities, loss given default, exposures, exposure at default, risk-weighted…

Fixed incomeRisk managementStatistics
Quant Q&A

The answer describes a model-based way to relate default probabilities to credit spreads. It distinguishes physical default probabilities, estimated from real-world outcomes, from risk-neutral probabilities used in pricing. Within a Merton-style framework,…

Fixed incomeStatisticsRisk management
Quant Q&A

The discussion asks how to assess the effect of rising LIBOR on companies with foreign currency debt when available balance-sheet data does not identify the debt’s currency or whether its rate is fixed or floating. The answer explains that those details…

Fixed incomeForexRisk management
Quant Q&A

The document explains the sign of convexity for payer and receiver swaptions by starting with the underlying interest rate swap. A payer swap pays fixed and receives floating, so it benefits when rates rise. However, the gains from higher rates are…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document raises foundational questions about how yield relates to duration and discounting. It distinguishes Macaulay duration, the present-value-weighted average timing of a bond’s cash flows, from the bond’s final maturity. A bond with duration shorter…

Fixed incomeRisk managementPortfolio constructionStatistics
Quant Q&A

The document clarifies the interpretation of a calibration described for the one-factor Hull–White interest-rate model. The question asks whether the optimization produces a mean-reversion rate and diffusion parameter shared across all curve tenors, rather…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers why bump-and-reprice calculations can assign substantial duration to an interest rate swap’s floating leg, even though a common bond-style approximation treats that leg as having near-zero duration. Shifting the forward curve changes…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document works through building discount and projection curves in QuantLib to price a five-year EUR receiver interest rate swap. The setup uses an ESTR-linked overnight curve for discounting, a six-month Euribor curve for forecasting, and Bloomberg swap…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document discusses how to measure and hedge repo rate exposure embedded in a bond derivative. It notes that repo rates can move with overnight indexed swap rates while still diverging enough for the repo versus OIS spread to create material risk. This…

Fixed incomeFuturesRisk management
Quant Q&A

The document addresses converting a day count to maturity into a standard tenor label, such as mapping a short period to one month or a longer period to two years. The answer argues that no universal automatic convention is appropriate because users may want…

Fixed incomeStatistics
Quant Q&A

The discussion asks whether simulated issuer equity returns or bond returns are a better basis for estimating joint rating-change and default events across a bond portfolio. It distinguishes bond-return simulations, which reflect interest-rate, swap-spread,…

Fixed incomeEquitiesStatisticsRisk management
Quant Q&A

The document asks how unexpected loss is treated under Basel II and presents the advanced internal ratings-based framework’s expected-loss expression, correlation and maturity adjustments, capital requirement, and risk-weighted asset calculation. Its…

Fixed incomeRisk managementStatisticsDerivatives pricing
Quant Q&A

The discussion compares at-the-money payer swaptions with different expiry and underlying swap terms: one-year expiry on a ten-year swap and ten-year expiry on a one-year swap. It explains that expiry affects option value through volatility accumulated over…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document frames a valuation question about the equity component of a convertible bond under the Tsiveriotis–Fernandes approach. It distinguishes the cash component, which represents coupons and principal and is discounted at a risky rate, from the equity…

Fixed incomeDerivatives pricing
Quant Q&A

The document poses a comparison between two ways of hedging the financing and rate exposure of an investment-grade bond in an inverted curve environment. The investor buys a bond yielding less than three-month Euribor and wants to lock in a spread over…

Fixed incomeCarryRisk management