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 presents a brief question about how wider swap spreads relate to the cost of funding. It states that a wider spread makes paying fixed on a swap more expensive and receiving fixed more beneficial. It then considers a borrower with fixed-rate…

Fixed incomeDerivatives pricing
Quant Q&A

The note compares two ways to calculate a forward interest rate between maturities. One derives the rate from the ratio of discount factors over the interval; the other uses the change in maturity-weighted term yields divided by the time difference. It…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion considers how to stress a portfolio whose VaR is estimated with a variance-covariance method. It distinguishes sensitivity analysis, which applies specified shocks to risk factors, from historical scenario analysis, which applies movements…

Risk managementStatisticsFixed incomeEquities
Quant Q&A

This QuantLib example clarifies that the instrument in the question is a forward rate agreement (FRA), not an FX forward. The accepted answer explains why its net present value is zero when valued on the settlement or value date: an FRA settles at the start…

Fixed incomeDerivatives pricing
Quant Q&A

This document shows how to price a hypothetical fixed-rate bond after constructing a yield curve in QuantLib. The example creates a semiannual coupon bond with specified start and end dates, face value, coupon rate, calendar, and day-count convention. It…

Fixed incomeDerivatives pricing
Quant Q&A

The document derives the relationship between the present value and future value of an ordinary annuity with equal payments. It writes present value as the sum of each payment discounted from its receipt date, and future value as the same payments…

Fixed incomeStatistics
Quant Q&A

The document describes unusually high one-year government bond yields relative to nearby maturities in Switzerland and Denmark, based on rates observed in 2012. The curve points are presented as traded yields rather than rates synthetically compounded from…

Fixed incomeEvent-drivenMulti-asset
Quant Q&A

The document raises a practical valuation question: how to estimate an FX forward for an exotic currency pair when a pricing system supplies spot rates but no forward quotes. It asks whether spot can be adjusted by the ratio of the two currencies’ discount…

ForexDerivatives pricingFixed income
Quant Q&A

The document describes a QLNet workflow for converting a fixed-rate bond’s observed price into a yield, then using that yield to calculate clean and dirty prices. It constructs a coupon schedule and bond, sets an evaluation date relative to settlement, and…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains why a floating-rate leg’s coupons alone can appear sensitive to changes in the indexed rate, even when discounted using that same rate. It uses a two-period example with compounded SOFR coupons and discount factors, then points out that…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion examines what it means for short rate models to begin with economic variables. One interpretation is that these are state variables such as inflation or GDP, modeled jointly as a vector process, with the short rate specified as a function of…

Fixed incomeMean reversionStatistics
Quant Q&A

The document shows how an instantaneous forward rate can be obtained from a discount factor by differentiating its logarithm with respect to maturity. It begins with a representation of the price at time t of a zero-coupon payment at T as the exponential of…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document distinguishes the pricing formula for a swaption from the volatility model used to represent market prices. It says Black-style pricing is widely used, while arguing that the choice and behavior of the volatility model deserve more attention…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains why yield to maturity cannot be computed for a loan portfolio without a price or present value. YTM is a way to express the relationship between a bond’s price and its promised cash flows as a yield, which can help compare instruments…

Fixed income
Quant Q&A

The document explains how settlement after expiry can affect option valuation, distinguishing cash-deferred from physically deferred delivery under deterministic interest rates. In the cash-settled case, the exercise payoff is determined at expiry and then…

OptionsDerivatives pricingFixed income
Quant Q&A

The document asks how to apply the law of one price to two bonds with the same maturity and maturity payoff when one bond also pays coupons before maturity. The question highlights that matching only the final payoff does not make the two investment…

Fixed incomeArbitrageDerivatives pricing
Quant Q&A

The document examines how to choose notionals for a three-bond, proceeds-weighted butterfly using bonds identified as the wings and belly. It lays out a duration-neutrality condition and a proceeds or notional neutrality condition, then tries to solve both…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The document describes a C++ access-control problem when a custom OIS curve derives from QuantLib’s piecewise yield curve and uses a custom bootstrapper. The bootstrapper needs access to private or protected members across the derived curve and its base…

Fixed income
Quant Q&A

The document explains why the implied repo rate for a bond in a futures contract is below that bond’s term repo rate. The key comparison is between the futures price and the bond’s forward price for delivery, adjusted by the conversion factor. To rule out…

Fixed incomeFuturesArbitrageDerivatives pricing
Quant Q&A

The document describes a proposed cross-sectional regression for estimating credit default swap spreads, or their implied hazard rates, when a counterparty has no liquid CDS. The setup uses liquid CDS observations at a given tenor, with the logarithm of…

Fixed incomeStatisticsRisk managementBacktesting
Quant Q&A

The document explains how changes in the federal funds rate can influence US government bond yields and prices. Monetary policy tends to affect short maturities most directly: higher overnight borrowing costs can lift rates across nearby maturities, which…

Fixed incomeUS marketsRisk management
Quant Q&A

The question concerns historical rate data needed to estimate volatility in a model using instantaneous forward rates at different observation dates and relative maturities. The response says the referenced chart already reports instantaneous forward rates…

Fixed incomeVolatilityStatisticsMulti-asset
Quant Q&A

The discussion considers how to value a two-year bond with semiannual coupons, an early exit right after one year, and principal tied to the S&P index. One answer separates the fixed coupon payments from the index-linked payoff and applies risk-neutral…

Fixed incomeOptionsDerivatives pricingEquities
Quant Q&A

The document compares stock warrants with options, focusing on who issues them, how exercise affects shares, and how they trade. A company issues a warrant on its own stock; exercising a call warrant generally leads the company to issue new shares, which can…

OptionsEquitiesDerivatives pricingFixed income