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 an attempt to estimate a Treasury bond future’s delivery option by applying principal component analysis (PCA) to yields of deliverable bonds. The author uses the leading components to create yield scenarios, scales them using the…

FuturesFixed incomeOptionsVolatility
Quant Q&A

The document describes a curve-building problem encountered while trying to infer implied volatility for a short-maturity Euro floor. The floor price covers the remaining unfixed floorlets, but for some strikes the market quote is below the model price even…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The response outlines how interest-rate derivative volatility surfaces are assembled from market-maker quotes and why normal, or Bachelier, volatility became a common convention in low-rate and negative-rate environments. Black volatility describes…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains that a seller of credit default swap protection is short credit risk: the seller must pay when a credit event occurs and is exposed to losses as the reference entity’s credit deteriorates. It compares this position with holding a risky…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document gives an intuitive explanation of bond convexity using zero-coupon bonds and portfolios with equal duration. For a zero-coupon bond, a longer maturity makes price more responsive to yield changes because the discount rate compounds over a longer…

Fixed incomeVolatilityRisk management
Quant Q&A

The document addresses how to express the yield of a defaultable perpetual coupon bond when the usual maturity-based yield formula does not apply. It starts with a bond value that depends on the issuer’s asset value relative to a default barrier, the coupon…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document diagnoses a date-construction error in a QuantLib example for a three-by-six forward rate agreement. The intended contract begins three months after the valuation date and covers the following three-month interest period. The original code…

Fixed incomeDerivatives pricingExecution
Quant Q&A

The document describes how to convert a bond’s pillar-wise sensitivity to zero rates into sensitivity to observable par or coupon rates. It frames the conversion as a Jacobian transformation: multiply the vector of sensitivities with respect to zero rates by…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document compares two ways to apply a small local shock to a LIBOR 3M yield curve built with cubic splines: rebuilding the curve with the spline method, or replacing interpolation between neighboring pillars with linear interpolation. It explains that…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document raises a conceptual question about whether bond term premia should be understood like equity risk premia. It contrasts an equity risk premium expressed as the difference between a stock’s physical-measure expected return and the risk-free rate…

Fixed incomeStatisticsDerivatives pricing
Quant Q&A

The document describes an attempt to reproduce a EUR–USD cross-currency basis curve under mark-to-market, or periodically resetting notional, conventions. The author reports having built the relevant EUR and USD overnight and term curves, then asks whether…

Fixed incomeForexDerivatives pricing
Quant Q&A

The document explains a QuantLib zero-curve result where querying the rate at the initial date returns a value slightly different from the rate supplied at that node. The implementation derives zero rates through discount factors. At time zero, recovering a…

Fixed incomeStatistics
Quant Q&A

The document compares ways to estimate a bond’s price response to interest-rate changes when the yield curve may shift unevenly. Modified duration, with convexity for larger moves, provides a practical approximation for parallel shifts. Key-rate durations…

Fixed incomeRisk managementStatistics
Quant Q&A

The document explains how market quotes for standard credit default swaps can be used to build a term structure of risk-neutral default probabilities. A common approach starts with zero default probability at the initial date, chooses a recovery assumption,…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The document explains the settlement mechanics of short-term Eurodollar interest-rate futures through a bank’s hypothetical sale of several contracts. These contracts are cash settled, so expiry does not involve delivery of a time deposit. Instead, the final…

FuturesFixed incomeUS markets
Quant Q&A

The document asks for accessible examples of maximum smoothness methods for fitting yield curves and forward rate curves. It names two papers covering the framework’s theory, including work on fitting curves and on maintaining positive forward rates, but the…

Fixed incomeStatistics
Quant Q&A

The document shows how to estimate empirical carry, duration, and convexity from changes in a bond total return index and yield. It starts from an approximate return relationship containing a constant carry term, a term linear in yield change, and a term…

Fixed incomeStatisticsRisk managementDerivatives pricing
Quant Q&A

The discussion explains how a lender's fixed cash flows from a prepayable loan can be understood through swap and swaption positions. When a borrower prepays, the lender receives principal and must reinvest it at prevailing market rates, changing the value…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

This response points readers seeking an introduction to leveraged or syndicated loans toward educational resources and examples of loan valuation models. It highlights a loan handbook, two bank models, and an article on valuing and assessing the risk of…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

Conversion factors make bonds with different coupons and prices comparable in a futures contract that accepts multiple deliverable securities. The explanation starts with the cheapest-to-deliver problem: if futures settlement simply tracked one bond’s…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The discussion explains why manually summing projected swap cash flows can disagree with QuantLib’s net present value. A cash flow’s amount is undiscounted, so it must be multiplied by the discount factor for its payment date when calculating present value.…

Fixed incomeDerivatives pricing
Quant Q&A

The discussion distinguishes market-quoted foreign exchange forwards from forwards inferred using interest rates. In ordinary cases, spot prices and forward points are quoted by the market, and the outright forward is derived from those quotes without…

ForexArbitrageFixed income
Quant Q&A

The discussion uses two coupon bonds to illustrate bootstrapping a one-year spot rate from a known six-month rate. It explains that, under a semiannual coupon convention, the annual yield is divided into two coupon-period rates and cash flows are discounted…

Fixed incomeStatistics
Quant Q&A

The discussion explains why overnight indexed swap (OIS) rates are commonly used to discount fully collateralized derivatives. Collateral agreements often specify that posted collateral accrues interest at an OIS-linked rate. Discounting at that same rate…

Derivatives pricingFixed incomeRisk management