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
Lumibot strategies
7 documents
QuantRocket
7 documents
Awesome Quant
1 documents

Search the library

5,701 documents

Quant Q&A

The document explores reproducing corporate bond yield spreads under the Black–Cox structural credit model. It defines spread from face value, bond price, maturity, and the risk-free rate, then describes bond value as discounted debt recovery conditional on…

Fixed incomeDerivatives pricingRisk managementStatistics
Quant Q&A

The document poses a fixed-income valuation problem: how to calculate yield to maturity for a semiannual coupon bond that repays principal in installments before its final maturity. It provides a coupon rate, day-count convention, clean price, valuation…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion explains how to express views on ECB decisions through overnight indexed swaps (OIS) spanning meeting dates. It distinguishes a view on the size of an individual meeting’s rate change, which could be structured as an option on a spread between…

Fixed incomeOptionsDerivatives pricingEvent-driven
Quant Q&A

The document explains why forward Libor rates are often modeled as lognormal in Black’s framework, while clarifying that this distribution is a modeling choice rather than a requirement of no-arbitrage. By expressing a forward rate as a ratio of zero-coupon…

Fixed incomeOptionsDerivatives pricingVolatility
Quant Q&A

The document surveys liquidity mechanisms beyond a central limit order book, including requests for quote, streaming quotes, single-dealer platforms, multi-dealer platforms, systematic internalisers, and dark pools. The response focuses on the trade and…

Market microstructureExecutionFixed incomeMarket making
Quant Q&A

The document shows how to derive a par coupon from a zero-rate curve. First convert each continuously compounded zero rate into a discount factor using its maturity. Then price a hypothetical coupon bond by discounting each coupon and principal payment.…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how a Gaussian short-rate model with a multivariate Ornstein–Uhlenbeck state process produces a yield curve. Its derivation includes a maturity-dependent covariance adjustment; omitting that term gives the familiar Nelson–Siegel curve…

Fixed incomeArbitrageStatistics
Quant Q&A

A default-free yield curve reflects more than current short-term yields. Its shape combines expectations for future short rates, the bond risk premium, and the value investors place on convexity. A curve can slope downward when markets expect rates to…

Fixed incomeUS marketsArbitrage
Quant Q&A

The document asks how to approximate a portfolio’s loss distribution with a single-factor Vasicek model when individual loans have different default probabilities and correlations to the risk factor. The stated goal is to match the aggregate expected loss…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document connects portfolio theory, CAPM, factor models, and the Sharpe ratio to the problem of analyzing short-term loan repayment data. It explains that loan portfolios are often assessed through loss distributions, since losses are a central driver of…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document raises a modeling question about whether the short rate is Markov in the Heath–Jarrow–Morton framework. It presents an expression for the instantaneous forward rate and a derived spot-rate dynamics expression that includes a stochastic integral…

Fixed incomeStatistics
Quant Q&A

The document discusses an options-text exercise comparing two quarterly interest-rate payoffs: a spread involving a five-year swap rate and compounded SOFR, and a spread between compounded SOFR and a Treasury bill rate. It reports that the solution manual…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document discusses how to construct USD yield curves from publicly available data for valuing interest rate swaps and FX forwards. It distinguishes a discount curve from a LIBOR projection curve: the response recommends bootstrapping an OIS curve for…

Fixed incomeDerivatives pricingForexUS markets
Quant Q&A

The document compares two ways to infer expected Federal Reserve rate changes across upcoming meetings: differences between successive overnight index swap rates, and implied average rates from fed funds futures. It gives a dated example using swap quotes…

Fixed incomeFuturesUS markets
Quant Q&A

The document considers an Australian government bond issued in US dollars and asks which interest rate curve should measure its rate risk. The answers distinguish the bond's currency exposure from the issuer's country: because the payments are denominated in…

Fixed incomeRisk management
Quant Q&A

The document derives a conditional expectation of cumulative inflation when nominal and real short rates follow correlated mean-reverting Gaussian diffusions. It first writes each rate as its initial value, an integrated drift contribution, and a stochastic…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document considers an OTC swap intended to offset deviations of stochastic contract cashflows from their expected values. It frames the central pricing question as determining the premium for taking on that residual variability, which may arise from…

Risk managementDerivatives pricingStatisticsFixed income
Quant Q&A

The document proposes a way to construct model inputs for year-on-year and zero-coupon inflation options when example quotes are unavailable. Comparing yields on Treasury Inflation-Protected Securities with yields on nominal Treasury securities of similar…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains two common ways to estimate yields for a particular tenor when several bonds have different original maturities but similar time remaining. A market data provider may use a recently issued, liquid benchmark bond for each tenor,…

Fixed incomeStatisticsMarket microstructure
Quant Q&A

The document asks how to build a non-USD discount curve for EUR/USD and GBP/USD mark-to-market basis swaps collateralized in USD. The proposed construction uses forward rates for the short end and cross-currency basis swaps at longer maturities. The central…

Fixed incomeMulti-assetDerivatives pricingRisk management
Quant Q&A

The document explains why factor returns should be evaluated against a benchmark suited to the portfolio’s construction. For a passive long-only asset allocation, the return above the risk-free rate measures compensation over cash. For a tradable factor, the…

Factor investingPortfolio constructionRisk managementFixed income
Quant Q&A

The document clarifies how to identify the cheapest-to-deliver bond in a futures contract. The seller’s relevant comparison is each eligible bond’s market price relative to its futures invoice price, which incorporates the conversion factor. The CTD is the…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains a proposed link between Federal Reserve bond purchases and lower borrowing rates. QE adds reserves to the financial system and can increase liquidity; at the same time, purchases can raise bond prices and reduce their yields. The answer…

Fixed incomeUS markets
Quant Q&A

The document describes a QuantLib issue encountered while bootstrapping a futures-based yield curve. A FuturesRateHelper constructed with explicit start and end dates, an ASX futures type, and numeric price and convexity inputs returns a null maturity date;…

Fixed incomeFuturesDerivatives pricingBacktesting