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

The document describes difficulty obtaining stable parameters when calibrating a two-factor Hull–White interest-rate model to cap prices. The five parameters are two mean-reversion rates, two volatility parameters, and the correlation between factors.…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document asks how to simulate a credit spread series that tends to tighten when stock returns exceed their average and widen when returns fall below it. It proposes a linear model: a positive baseline spread minus a positive coefficient times the…

Fixed incomeEquitiesStatistics
Quant Q&A

The document considers how to estimate Treasury yields beyond the longest available bond maturities, using a theoretical 40- or 50-year yield as an example. The questioner reports that Nelson–Siegel and Svensson curve fits gave unsatisfactory, unstable…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document discusses how to make yield curve stress shocks meaningful when the current rate level differs from the historical level used to define a shock. It contrasts applying a proportional change to rates, which can exaggerate moves at low levels, with…

Fixed incomeRisk managementStatistics
Quant Q&A

This discussion examines why MATLAB’s actual/actual date-to-time calculation may not match QuantLib’s actual/actual day-count variants when code is ported between the two platforms. The example compares a period spanning 2006 to 2036 and reports different…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion distinguishes terminology by context. In bond and swap trading, the terms notional and nominal may refer to the same reference amount used to calculate contractual cash flows. In macroeconomics, nominal commonly describes a rate or value…

Fixed incomeDerivatives pricingMulti-asset
Quant Q&A

The discussion explains why the risk-free rate can be expressed as the reciprocal of the summed prices of state-contingent claims. Each claim pays one unit of currency in one possible state and nothing in the others. Buying a claim for every state therefore…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explores how to include callable bonds in a historical-simulation risk model. For plain bonds, the questioner proposes applying historical changes in the currency zero curve and issuer or rating spreads, then repricing. Callable bonds add…

Fixed incomeRisk managementBacktesting
Quant Q&A

The document considers estimating a riskless interest rate from spot and forward or futures prices using the relationship between the forward price, spot price, rate, and time to maturity. Rearranging that relationship gives an implied rate from the…

FuturesCommoditiesDerivatives pricingFixed income
Quant Q&A

The document raises a portfolio-construction problem from a life-insurance asset and liability model: whether a large bond portfolio can be represented by a smaller set of zero-coupon bonds with approximately matching cash flows. The motivation is to reduce…

Fixed incomePortfolio constructionRisk management
Quant Q&A

The discussion considers whether a constant displacement can adapt a standard LIBOR market model to negative interest rates. It proposes applying the shift to the forward rates used in the diffusion and drift numerators, while the accepted response clarifies…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The discussion clarifies the difference between a cross-currency swap and a cross-currency basis swap, then illustrates how a basis swap can convert a foreign-currency bond exposure into a USD funding comparison. In the example, an investor exchanges USD…

Fixed incomeForexDerivatives pricingCarry
Quant Q&A

A non-deliverable interest rate swap exchanges fixed and floating interest cash flows linked to one local currency, but settles the net amount in a deliverable currency such as USD or EUR. The example describes paying a fixed local-currency rate and…

Fixed incomeDerivatives pricingForexRisk management
Quant Q&A

The discussion asks whether a payer Bermudan swaption’s chance of exercise at its first exercise date rises or falls as interest rates increase. Its answer gives an intuitive example: for a payer option with a fixed strike and a flat curve, low swap rates…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document explains that life insurers can face equity risk through both their investment portfolios and the products they sell. In the European Union, Solvency II does not impose a blanket ban on equity holdings. Instead, insurers must hold sufficient own…

EquitiesRisk managementFixed incomeOptions
Quant Q&A

The document explains how to translate a USD Libor curve into an equivalent EUR funding curve. Its central method is to convert EUR into USD at spot, accrue the USD cash at the relevant Libor rate, and convert it back to EUR at a forward FX rate. Comparing…

ForexFixed incomeDerivatives pricing
Quant Q&A

The document asks whether a central bank's published government yield curve is a forecast of future policy rates or a curve derived from bond market prices. The context is the fall and steepening of UK gilt yields after the Brexit vote, which the question…

Fixed incomeUS markets
Quant Q&A

The document explains how to extract a ten-year zero-coupon discount value from prices of two bonds with the same maturity but different coupon rates. Because the 8% coupon stream is exactly twice the 4% stream, subtracting twice the lower-coupon bond price…

Fixed incomeStatistics
Quant Q&A

The document asks how to build a USD multi-curve setup for trading Fed Funds and Eurodollar futures, with Fed Funds and three-month LIBOR forecast curves. It compares discounting from an OIS curve based on effective Fed Funds with using the Interest on…

Fixed incomeFuturesMulti-assetDerivatives pricing
Quant Q&A

The document derives a futures rate from the expected value of a money-market rate in a one-factor Heath–Jarrow–Morton framework. Using the bond-price dynamics, it obtains a convexity term expressed as an integral involving bond volatilities. The adjustment…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The post clarifies that marginal default probability, conditional default probability, and hazard rate describe related but distinct quantities. Over a time interval, marginal default probability is the unconditional probability that default occurs within…

Fixed incomeStatisticsRisk management
Quant Q&A

The answer explains why the at-the-money caplet formula contains the forward rate for the accrual period. It assumes that this rate follows a lognormal process under the forward measure associated with the bond maturing at delivery. Discounting the expected…

OptionsFixed incomeDerivatives pricingVolatility
Quant Q&A

The note addresses how to value an uncollateralized swap when the bank must fund its exposure. It describes two equivalent framing choices: discount cash flows using a curve that reflects the bank’s unsecured funding rate, or use OIS discounting as the base…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document sets up a short-rate model with mean reversion, square-root diffusion volatility, and independent positive jumps whose sizes follow an exponential distribution. It presents the pricing PIDE for a security paying a function of the terminal rate…

Fixed incomeDerivatives pricingStatistics