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
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 explains why bond duration is not a straightforward measure for Eurodollar futures. A bond’s duration relates its percentage price change to a yield change, while a futures contract has no meaningful cash value at inception for calculating that…

FuturesFixed incomeRisk managementPosition sizing
Quant Q&A

The document asks about an arbitrage proof for the value of a long forward contract and whether borrowing the contract’s value creates a repayment obligation that changes the proof’s final balance. The answer recasts the problem as replication under a…

Derivatives pricingFixed incomeArbitrage
Quant Q&A

The document asks why the expected value of an accumulated quantity based on the Dothan short-rate model may be infinite. It gives the model’s geometric Brownian motion solution: the short rate is lognormally distributed at each time, with drift adjusted by…

Fixed incomeStatistics
Quant Q&A

The document explains how CDS premiums and protection payments relate to survival and default probabilities. The premium leg is paid while the reference entity survives, with discounting for the time value of cash flows. Accrued premium accounts for the…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The answer explains why a curve steepener can carry negative convexity when it sells a longer-maturity rate product and buys a shorter-maturity product in matched delta. Longer-maturity bonds and swaps generally have greater convexity, and convexity tends to…

Fixed incomeDerivatives pricingVolatilityRisk management
Quant Q&A

The document clarifies the terms pre-stress and post-stress capital in the context of Federal Reserve stress testing of bank holding companies. Pre-stress capital is the capital available before the hypothetical stress scenario is applied. Post-stress…

Risk managementFixed incomeStatistics
Quant Q&A

The document addresses how to estimate the maximum duration of a fixed-coupon bond when maturity is determined from a yield curve and a target duration. The duration–maturity relationship can rise and then fall for below-par bonds, making it possible for a…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document examines whether a credit default swap spread approximates the spread between a risky par bond’s coupon or yield and a risk-free bond’s rate. It presents a general expression in terms of discount factors, survival probabilities, and coupon…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The question describes estimating a risk-neutral density by choosing distribution parameters that minimize squared differences between model and observed call and put prices. The answer says that when the assumed terminal distribution is lognormal, its…

OptionsFixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks which LIBOR observations are used for the stub rate when calculating a floater’s discount margin. It refers to a formula reproduced from a credit-spread paper and proposes that a Bloomberg yield-analysis page’s index-to-next-coupon field…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The question concerns constructing funding-liquidity measures used in research on value and momentum across markets. It asks which term repo and interest-rate swap series to use when calculating spreads such as LIBOR minus term repo and swap minus…

Fixed incomeStatisticsUS markets
Quant Q&A

The question asks whether excess returns for a Sharpe ratio should use the current risk-free rate or the rate that applied when each fund return was observed. The answer recommends matching each observation with the risk-free return for that same period.…

StatisticsRisk managementFixed income
Quant Q&A

The post asks what “SQ ASW” means in a list of Australian bond issuances and how to determine its value to calculate a bond's total price or yield. The author gives BBSW plus a stated spread as a familiar comparison and asks whether “ASW” refers to a…

Fixed income
Quant Q&A

The document concerns sourcing US credit default swap data for a study of the Corona pandemic period. A response suggests that Bloomberg's CMAN historical CDS spreads may be adequate when IHS Markit historical consensus data are unavailable, while noting a…

Fixed incomeOptionsVolatilityStatistics
Quant Q&A

The document asks how to hedge foreign exchange exposure on a long-dated EUR bond while retaining interest rate exposure. Its answer recommends hedging the bond’s future cash flows with a fixed-for-fixed currency swap, which can be viewed as a series of…

Fixed incomeForexRisk managementDerivatives pricing
Quant Q&A

The discussion outlines a cash-flow-based framework for valuing dual-currency bonds. Discount cash flows using the swap curve for the payment currency, adjusted by the relevant cross-currency basis when valuing in another currency. The example values the…

Fixed incomeForexDerivatives pricingRisk management
Quant Q&A

The discussion asks why retail investors may face minimum sizes when buying Treasury Inflation-Protected Securities. The response points to issuer-set minimum denominations in municipal securities, which have historically served investor-targeting and…

Fixed incomeExecutionMarket microstructure
Quant Q&A

The document raises practical questions about building a forward curve for non-deliverable forwards when swap points and outright forward quotes are available. It asks whether curve construction should use swap points or outright forwards, how to derive…

ForexDerivatives pricingFixed income
Quant Q&A

The document considers how to estimate the probability that a forward swap rate finishes above or below a swaption strike. A simple approximation uses the cumulative normal distribution of a standardized forward-minus-strike distance under a Bachelier model,…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The discussion addresses how to use principal component analysis for relative-value analysis when interest rate levels are nonstationary. One proposed method applies PCA to daily rate changes, cumulatively sums the resulting factors, and regresses rate…

Fixed incomeStatisticsFactor investingMean reversion
Quant Q&A

The document describes how to estimate a bond’s sensitivity to individual spot-curve tenor points, a measure useful for building a tenor-based risk profile for a bond portfolio. It distinguishes tenor DV01—the change in market value for a one-basis-point…

Fixed incomeRisk managementStatistics
Quant Q&A

An amortising swap’s declining payment notionals can be decomposed into a stack of constant-notional swaps with different maturities. Each component starts with part of the total notional and remains active through its own maturity; adding their notionals…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document describes Bloomberg ticker conventions for retrieving currency exchange rate series associated with particular market closes or contributors. The answer identifies the generic currency ticker as a Bloomberg Generic series, with daily closes…

ForexFixed income
Quant Q&A

The document explains a definition from a paper on martingales and arbitrage in multiperiod securities markets. A price system assigns a linear price to attainable future consumption bundles, while a viable system requires that some agent have a preferred…

ArbitrageFixed incomePortfolio construction