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 building an OIS discount curve first and then using it to bootstrap a separate LIBOR forward curve may not capture the dependencies among curves and instruments. It describes a simultaneous calibration approach: choose market…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to calculate a credit default swap’s risky present value of a basis point (RPV01) and upfront payment for historical P&L. It presents a simplified formula based on coupon, par spread, remaining maturity, risk-free rate, and assumed…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The question proposes a cash-based arbitrage when a risk-free interest rate is negative: borrow or short a bond, keep the proceeds as currency, and repay a smaller amount later. The answers explain why this apparent zero lower bound does not hold…

Fixed incomeArbitrageCarryRisk management
Quant Q&A

The document asks how to derive a maturity derivative used to show when a Hull–White short-rate model is calibrated to the market instantaneous forward rate. It starts from the model’s zero-coupon bond price, which contains an integral involving the function…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks how to calculate repayment rate and time to repay when a borrower takes out and repays multiple amounts at different dates. In particular, it asks how repayment timing might be weighted by the amounts borrowed and repaid. The response…

Fixed incomeRisk managementStatistics
Quant Q&A

The document examines why QuantLib can report a callable bond’s effective duration as higher than its modified duration. It describes a setup using a Hull–White pricing engine, a callable fixed-rate bond, and a rate curve, then reports that effective…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains what a negative mean-reversion estimate implies in the Hull–White one-factor short-rate model. It gives the model’s expected-rate expression and describes how a negative mean-reversion parameter causes expected rates to move away from…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document diagnoses unexpectedly high rates returned by QuantLib when converting a yield curve to annual compounding. The example supplies zero-rate inputs that appear to be percentages, then compares continuous and compounded outputs and finds that the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document examines whether a swaption’s theta can be estimated from gamma and implied volatility, and why a model’s reported theta may differ from that estimate. Under the normal model, the response identifies theta as approximately negative one half of…

OptionsFixed incomeVolatilityDerivatives pricing
Quant Q&A

The document explains how to move from a Nelson–Siegel yield curve to the present value of a bond’s cash flows. In this setting, the curve supplies zero-coupon rates by maturity. Convert each rate into a discount factor for the matching cash-flow date, then…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document separates the effect of correlation on an individual caplet from correlation among forward rates along the yield curve. A caplet pays based on one forward rate at its expiry. Since its payoff depends on that rate alone, correlation with other…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document distinguishes interest rate risk from credit spread risk when a borrower plans to draw a floating-rate facility in the future. A forward-starting swap can exchange the future floating reference rate for a fixed rate, but the borrower remains…

Fixed incomeRisk managementDerivatives pricing
Quant Q&A

The document discusses a QuantLib error when pricing a EURIBOR floor in a market with negative interest rates. The Black cap and floor engine checks that the forward rate plus the volatility displacement is positive. In the example, a negative historical…

Fixed incomeDerivatives pricingVolatility
Quant Q&A

The document describes a fixed-income carry trade in which a trader borrows cash through repo and uses it to buy government bonds. The basic condition for positive carry is that bond income exceed the financing cost. The example discusses cheap short-term…

Fixed incomeCarryRisk managementChina markets
Quant Q&A

The document explains how to relate a borrower's marginal default probabilities across periods to the probability of default in a given period conditional on survival to its start. The motivating example comes from logistic-regression estimates of…

Fixed incomeStatisticsRisk management
Quant Q&A

The document asks how to interpret a claim that single-factor interest-rate models can make the vanilla-option hedge for a Bermudan option sensitive to changes in the yield curve. The author observes that hedges in any model may need rebalancing when rates…

Fixed incomeOptionsRisk managementDerivatives pricing
Quant Q&A

The document considers calibrating Hull-White and Jarrow-Yildirim interest rate models when only nominal and inflation-indexed bond prices are available. It clarifies that in the Hull-White bond formula, time zero represents a bond starting now, the…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document compares Markit’s par spread, conventional spread, and upfront payment as inputs for analyzing relationships between sovereign and banking credit default swaps. It argues that par spreads persist mainly for compatibility with older conventions…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a QuantLib futures rate helper rejects a Monday date supplied for a Eurodollar contract when configured to use IMM dates. IMM dates are Wednesdays, and the dates given in the question are therefore not valid IMM dates. QuantLib…

FuturesFixed income
Quant Q&A

The discussion considers whether stock prices and credit default swap (CDS) spreads should be modeled in levels or differences when testing for Granger causality. The questioner uses log stock returns and first differences of CDS spreads because both level…

EquitiesFixed incomeStatistics
Quant Q&A

The document addresses a Python interoperability issue when converting pandas timestamps into QuantLib dates for financial calculations. The original example extracts year, month, and day into a dataframe and constructs QuantLib dates row by row. That…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document considers fitting the SVI volatility model to swaption implied volatilities when forward swap rates can be negative. Standard SVI formulations use log-moneyness, based on the ratio of strike to forward, which is undefined when those rates are…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document poses a swap-pricing problem in which the floating leg is represented by a risky rate that evolves on a two-period binomial tree. It supplies a risk-free rate and starting risky rate, along with upward and downward rate multipliers, and asks how…

Fixed incomeDerivatives pricingStatistics