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
WonderTrader
14 documents
Alphalens
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 distinguishes a financial instrument from a financial product in its stricter usage. A financial instrument, such as a share, bond, or option, represents legal rights held by its owner; ownership and those rights can be transferred through…

Multi-assetFixed incomeOptions
Quant Q&A

The document clarifies two distinct ways to obtain a fixed-rate bond's dirty price in QuantLib. One method passes a yield, day-count convention, compounding rule, and payment frequency directly to the calculation. This route computes a price from the…

Fixed incomeDerivatives pricing
Quant Q&A

The document examines why two semiannual swaps with the same start date can produce different August payment dates when schedules are generated backward from their respective maturities. A leap-year February date creates ambiguity about whether the schedule…

Fixed incomeDerivatives pricing
Quant Q&A

The document outlines a practical estimate for the yield on a US Treasury bond hedged into euros. For a quarterly hedge, the notional is set slightly above the bond’s current value to reflect the expected increase in bond value over the hedge period. The…

Fixed incomeForexCarryDerivatives pricing
Quant Q&A

This answer outlines a state-space approach to estimating latent default intensity from observed credit default swap quotes across maturities. It models risk-neutral default probability through an intensity process and presents the Cox–Ingersoll–Ross process…

Fixed incomeDerivatives pricingStatisticsMachine learning
Quant Q&A

This discussion explains how to infer delta and gamma for a swaption portfolio from its profit-and-loss response to rate shocks. Using a second-order Taylor approximation, gamma comes from the centered difference between up-shock and down-shock values…

OptionsFixed incomeDerivatives pricingRisk management
Quant Q&A

The document presents a mental-math estimate for a bond priced away from par after its yield changes. It starts from the par case, where coupon rate and yield match, then uses the first-order relationship between price change and yield change. For the…

Fixed incomeStatisticsRisk management
Quant Q&A

Jamshidian’s trick expresses a payer swaption price as a sum of options on zero-coupon bonds. The approach first finds a critical short rate at which the discounted value of the swap’s cash flows reaches the exercise threshold. In the Vasicek example,…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The discussion compares two ways for a bank to fund a one-year liability: issuing a zero-coupon bond or creating an uncollateralized derivative that provides an upfront premium and requires a later payment. The bond’s economic value reflects the issuer’s…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document explains why term structure models often specify short-rate or state-price dynamics instead of assigning separate price processes to bonds at each maturity. Independently modeling bond prices can produce inconsistencies that permit arbitrage.…

Fixed incomeDerivatives pricingArbitrage
Quant Q&A

The note considers the foreign-exchange exposure of a basis swap denominated in a currency different from an investor’s reporting currency. It clarifies that the swap can carry second-order FX risk through changes in its mark-to-market, even when the initial…

Fixed incomeForexRisk management
Quant Q&A

The note explains how to represent a bond whose final coupon date precedes maturity using QuantLib’s standard schedule and bond construction. Its workaround is to create the regular schedule, provide a coupon-rate entry for every period, and set the final…

Fixed income
Quant Q&A

A short-rate model specifies the evolution of the instantaneous rate over time. The response explains that this modeled rate can be used to derive zero-coupon bond prices by taking the expected discount factor over the life of each bond. The bond price is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion explains how a six-month LIBOR forward rate can be derived from a three-month reference curve when valuing a fixed-for-floating interest rate swap. First, a three-month LIBOR curve is constructed from market instruments such as futures and…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document asks whether government bonds in major currencies trade as curve flies, rather than only as individual securities. A fly combines positions across three maturities to express a view on the curve's relative shape. The question also raises whether…

Fixed incomeExecutionMarket microstructure
Quant Q&A

The document examines an apparent contradiction between the claim that swap rates are below LIBOR borrowing rates and a textbook example that derives a two-year borrowing rate below the stated swap rate. It explains that a direct comparison is problematic:…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The note explains the conversion-factor term in a Treasury futures wild card option inequality. The question concerns when a short futures holder should exercise promptly and sell the remaining bond position, comparing the gross basis cost with the price…

FuturesFixed incomeDerivatives pricing
Quant Q&A

The document explains why the historical return advantage of equities over government bonds is called a puzzle, rather than a risk-free arbitrage opportunity. Stocks and bonds both carry risk, and equity’s higher expected return is commonly understood as…

EquitiesFixed incomeStatisticsRisk management
Quant Q&A

The document explains an apparent rate arbitrage: the effective federal funds rate can be below the interest paid on reserve balances at the Federal Reserve. The answer attributes the gap to differences in which institutions can earn interest on reserves and…

Fixed incomeArbitrageUS markets
Quant Q&A

The document explains how to represent an overnight benchmark in QuantLib when the library does not provide a dedicated class for it. The proposed workaround is to instantiate the general OvernightIndex type and supply the index name, settlement lag,…

Fixed incomeDerivatives pricing
Quant Q&A

The document discusses how to set the fixed rate on a hypothetical derivative used to assess a cash flow hedge of a foreign currency liability with a cross-currency swap. The hypothetical derivative should start at zero fair value and have cash flows that…

Fixed incomeDerivatives pricingRisk management
Quant Q&A

The document investigates why a market-neutral mutual fund appears to have many days with no price change. The proposed explanation is price rounding: when published fund prices are shown to only two decimal places, small daily moves may disappear in the…

StatisticsFixed incomeRisk management
Quant Q&A

The document examines a European callable bond with a call date two years ahead and a five-year remaining term. Its textbook decomposition combines the callable bond with a receiver swaption to replicate a non-callable bond. The response qualifies that…

Fixed incomeOptionsDerivatives pricing
Quant Q&A

The document asks how the Fixed Income Clearing Corporation (FICC) handles a temporary cash gap in a Treasury delivery-versus-payment settlement. In its example, two members trade a Treasury note; after novation, the seller delivers the note to FICC and…

Fixed incomeMarket microstructureExecution