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 asks how to distinguish balance terms used for mortgage-backed securities, including original, current, deal, collateral, and unpaid balances. It frames deal balance as principal remaining on the deal, original balance as principal at inception,…

Fixed income
Quant Q&A

The document explains why the accrual factor associated with a forward Libor rate is a martingale under the forward measure whose numeraire is the bond maturing at the end of the accrual period. The factor is expressed as the ratio of the bond price maturing…

Fixed incomeStatistics
Quant Q&A

The document explains a sharp historical move in the French franc’s exchange value against the US dollar. It identifies the cause as France’s devaluation of the franc, decided by President Pompidou and Finance Minister Giscard d’Estaing, with the adjustment…

ForexFixed income
Quant Q&A

The discussion outlines mortgage valuation as a problem of projecting cash flows under changing interest rates, borrower behavior, and discounting. A proposed simulation approach generates possible rate paths, calculates amortizing payments, and discounts…

Fixed incomeOptionsRisk managementBacktesting
Quant Q&A

The answer explains how a weekend-adjusted payment date usually affects the timing of a bond coupon without changing its amount. For a regular semiannual period, the coupon is generally based on the scheduled coupon period and remains the regular half-year…

Fixed incomeDerivatives pricing
Quant Q&A

The discussion considers pricing mark-to-market (MtM) basis cross-currency swaps and using their market quotes to derive collateralized discount curves when constant-notional swap data is unavailable. It references a multi-curve framework and an analytical…

ForexFixed incomeDerivatives pricingRisk management
Quant Q&A

The document works through the affine bond-price form for the Ho-Lee short-rate model, where the short rate has a time-dependent drift and constant volatility. Substituting the model’s coefficients into the ordinary differential equations for A and B gives a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why a 10-year receiver and 20-year payer swap with equal and opposite DV01s may not offset under a parallel rate move. Equal DV01s cancel the positions’ first-order sensitivity at the starting curve, but they do not ensure equal…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document addresses which date to enter when calculating a Treasury bond’s yield from its clean price, and whether auction prices use the same approach. The answer recommends using the settlement date rather than the trade date or the most recent coupon…

Fixed incomeDerivatives pricing
Quant Q&A

The document describes how to align a QuantLib fixed-rate bond valuation with a Bloomberg clean price. The example concerns a Polish government bond valued on a specified date at a given yield. The initial QuantLib calculation differs from Bloomberg by a…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document clarifies naming and interpretation of Actual/Actual day count conventions used in bond and interest rate calculations. It outlines the questioner’s uncertainty about whether the ICMA and Bond definitions differ, particularly around leap days…

Fixed incomeStatistics
Quant Q&A

The document presents a currency and bond arbitrage exercise involving a sterling bond, a dollar loan, spot conversion, and a forward sale of sterling. The question asks why the loan repayment is written as 1.68 times the borrowed dollar amount when the…

Fixed incomeForexArbitrage
Quant Q&A

The document explains how to obtain a forward discount factor and forward reference rate from discount factors observed from today to two future dates. For dates t1 and t2, it uses the multiplicative relationship between discount factors: the factor from t1…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document studies the stochastic behavior of marginal default density when default intensity follows a lognormal diffusion. It writes default density as intensity multiplied by survival probability, then applies Itô’s product rule to derive a stochastic…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document distinguishes zero rates, used to derive discount factors for valuing cash flows today, from forward rates, which are implied by zero rates and no-arbitrage relationships to describe rates over future periods. It frames curve selection as…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The discussion explains how negative risk free rates affect equity and index option valuation. It says the Black Scholes framework can accommodate negative rates, and an answer suggests setting very small negative CHF rates to zero as a practical…

OptionsDerivatives pricingFixed income
Quant Q&A

In investment banking, a curve is a set of values indexed by date, such as discount factors across maturities. A practical curve stores values at selected dates and uses interpolation to estimate values between them, since a value for every possible date is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document compares principal component analysis applied to yield curve levels with PCA applied to daily rate changes. The researcher reports that both input choices produce component shapes resembling a parallel level shift, a slope change, and a…

Fixed incomeStatisticsPortfolio construction
Quant Q&A

The document discusses the practical standing of the Linear Gauss–Markov model for interest rates and its relationship to other short-rate frameworks. It reports that one reference treats LGM under the name “Hagan and Woodward Parameterization,” and that two…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The note explains why an implied default probability can rise when the assumed recovery rate increases, even if the observed risky-bond price stays fixed. Under a simple one-period setup, the bond's price is the probability-weighted value of its payment…

Fixed incomeRisk managementStatistics
Quant Q&A

The note describes two uses of algorithms by bond market makers. A system can maintain required bid and ask quotes across bonds that a desk may not actively want to trade, adjusting them as the best market quotes move. It can also generate indicative prices…

Fixed incomeMarket makingExecution
Quant Q&A

The note distinguishes broad bond performance measures from the word “indicative” as used on a trading floor. Price, yield, spread measures such as Z-spread and option-adjusted spread, and horizon return are listed as price or return metrics. Such measures…

Fixed incomeMarket microstructure
Quant Q&A

The note explains why posting bonds as collateral is treated differently from posting cash when considering price adjustment interest (PAI). A party receiving bonds can generally use them in a repurchase agreement to borrow cash, and the repo rate is the…

Fixed incomeCarry
Quant Q&A

The document asks why a bond pricing system switches discount factors during the final year before maturity. It contrasts annual compounding, using a factor based on yield raised over the time to payment, with simple-interest discounting, using yield…

Fixed incomeStatisticsDerivatives pricing