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 discusses simulating the one-factor Hull–White short rate, whose drift includes mean reversion and a time-varying term calibrated to the yield curve. A basic Euler scheme advances the rate using the current drift plus a Gaussian shock. One…

Fixed incomeDerivatives pricingVolatilityBacktesting
Quant Q&A

The document investigates why QuantLib’s daily valuations of a short-dated FX option diverge from Bloomberg on some dates, despite matching on several others. The accepted answer identifies differing date conventions: Bloomberg distinguishes the pricing…

OptionsForexDerivatives pricingFixed income
Quant Q&A

The discussion examines why a stock can have value even when its company pays no dividend and an investor holds too few shares to influence management. Replies describe several sources of value: expected future cash flows, retained earnings, buybacks,…

EquitiesFixed incomeEvent-drivenPortfolio construction
Quant Q&A

The discussion concerns finding a starting point for implementing trinomial trees and comparing them with Monte Carlo simulation. A researcher describes using a Hull–White trinomial tree in a project modeling a guaranteed minimum death benefit rider, with…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The discussion considers which UK rate to use as the risk-free input when estimating CAPM beta from market data, with a short investment horizon and gaps in short-maturity government bond yield data. One answer recommends SONIA, identifying it as the UK’s…

EquitiesFixed incomeStatisticsUS markets
Quant Q&A

The document addresses how to calculate an ACT/ACT year fraction when a date interval spans both leap and non-leap years. Instead of dividing the entire number of elapsed days by a single denominator, the answer separates the interval into day counts…

Fixed incomeStatistics
Quant Q&A

The document asks whether notional and maturity alone can support a quick mental estimate of interest rate swap DV01 and credit default swap CS01, and whether being at or away from fair value matters. The response gives a rough PV01 estimate based on…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document considers how to divide a loan exposure across collateral, a guarantee, and an uncovered portion when calculating risk-weighted assets under the Foundation IRB approach. Its example assigns different loss-given-default assumptions to real estate…

Fixed incomeRisk management
Quant Q&A

The explanation distinguishes the financing economics of general collateral from the securities lending value of a special bond. A repo is presented as a collateralized loan whose interest is embedded in the difference between the purchase and repurchase…

Fixed incomeCarryMarket microstructure
Quant Q&A

The document describes a research problem: studying whether ESG ratings help explain credit ratings or default probabilities over time. The researcher has ESG data and company fundamentals for more than 900 European firms, but the database provides only…

EquitiesFixed incomeStatisticsRisk management
Quant Q&A

The document addresses confusion about converting lognormal volatility to normal volatility for a bond option. A calculation using a 5.9% lognormal volatility, a forward of 134.5, a strike of 132.5, and a short maturity produces a normal volatility near 7.87…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document asks how to price a fixed-rate bond in QuantLib when the holder’s purchase date predates the most recent coupon date. It describes a semiannual bond valued between coupon dates and shows that QuantLib reports accrued interest based on the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how to approximate a one-year fixed swap rate indexed to three-month Libor from a six-month Libor swap rate and a three-month versus six-month basis spread. At a first pass, subtract the basis spread from the six-month fixed rate to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why deposit quotes used to build a QuantLib yield curve may not match zero rates queried from that curve. In the example, the curve is built with deposit and bond helpers, then zero rates are read at curve dates using a compounded…

Fixed incomeStatistics
Quant Q&A

The document explains a one-factor latent-variable model for correlated defaults. Each entity’s standardized financial condition is represented as a weighted sum of a shared systematic factor and an independent idiosyncratic factor. Default occurs when that…

StatisticsRisk managementFixed income
Quant Q&A

The document resolves a sign discrepancy when finding the dynamics and expected value of the square of a driftless geometric Brownian motion, a calculation relevant to the expectation of a squared forward rate. Applying Itô’s lemma directly to the logarithm…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains a shifted lognormal model for an interest rate that may be negative. A positive constant is added to the rate so the shifted quantity follows ordinary lognormal dynamics; simulation is performed on that shifted rate, and the constant is…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

This answer shows how to approximate a Cox–Ingersoll–Ross short-rate process over a discrete time step using the Euler–Maruyama scheme. It evaluates the drift and diffusion at the current rate, multiplies them by the step length and the corresponding…

Fixed incomeStatisticsBacktesting
Quant Q&A

The document explains how to infer one currency’s interest rate from spot and forward FX rates when the other currency’s rate is known. It applies interest rate parity, adjusting each rate for its own day-count convention over the swap’s accrual period. The…

ForexFixed incomeDerivatives pricing
Quant Q&A

The document traces the shift in US swap spread analysis from Libor swaps versus Treasuries to cleared SOFR swaps versus cash Treasuries. It asks whether matched-maturity asset swap spreads should be near zero if SOFR approximates general collateral funding,…

Fixed incomeFuturesRisk management
Quant Q&A

The document examines confusion about whether Libor and a zero rate are martingales under a forward measure. The question defines a rate over the interval from the present time to a future date, then reasons from bond prices and numeraires to compare that…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document investigates why OIS swaps repriced on a bootstrapped QuantLib curve show nonzero NPVs and a fair rate below the input quote. It asks whether the discrepancy comes from the curve bootstrap’s stopping condition or accuracy settings, using an…

Fixed incomeDerivatives pricingBacktesting
Quant Q&A

The document clarifies that basis risk arises when a futures hedge does not move exactly with the asset or exposure being hedged. It gives examples where the deliverable or referenced instrument differs from the hedger’s actual exposure: wheat from one…

FuturesEquitiesCommoditiesFixed income
Quant Q&A

The document derives a rating-level adjustment that maps through-the-cycle default probabilities to point-in-time estimates when the portfolio-wide default forecast changes. It defines odds for the overall TTC and PIT rates, then scales each rating’s…

StatisticsRisk managementFixed income