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 question concerns valuing an interest rate swap whose schedule began before the valuation date. It raises two implementation issues: representing a declining notional and including a floating coupon whose rate was fixed earlier. The response gives a…

Fixed incomeDerivatives pricing
Quant Q&A

The document explains how to value a CMS indexed range accrual when simulated zero-coupon rates follow a short-rate model under the risk-neutral measure, while the desired probability is expressed under the payment-date forward measure. The payoff event is…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document sets up a structural credit model in which a firm’s asset value follows geometric Brownian motion and default occurs when it reaches an absorbing barrier. A coupon bond pays coupons while the firm survives, pays principal at maturity if it has…

Fixed incomeDerivatives pricingStatisticsRisk management
Quant Q&A

The discussion asks whether a liquid interest rate swap curve can exist without a liquid government bond market, and how dealers hedge the risk they absorb. One answer describes the typical development of local currency markets: governments issue short-dated…

Fixed incomeDerivatives pricingMarket microstructure
Quant Q&A

The document explains how to obtain a zero-coupon yield curve and distinguishes observed spot rates from a curve calibrated to traded instruments. A curve can be interpolated from spot rates when they are available, but spot rates are generally not directly…

Fixed incomeFuturesDerivatives pricing
Quant Q&A

The document illustrates how a company with dollars can use an FX swap when it needs francs to settle a bond purchase and later expects to receive foreign-currency proceeds. In the example, the company exchanges dollars for francs for near-term settlement,…

ForexFixed incomeCarryExecution
Quant Q&A

The question asks whether regional central banks provide programmatic access to their statistical data, after the author encountered CSV downloads and web scraping. The response points to the Federal Reserve Bank of St. Louis’s FRED service as a widely used…

Fixed incomeStatisticsUS markets
Quant Q&A

The document gives an intuitive explanation of the Merton model’s representation of risky corporate debt. A lender to a company that cannot default would receive the promised repayment, like holding a risk-free bond. With default risk, however, the lender…

Fixed incomeDerivatives pricingOptionsRisk management
Quant Q&A

The document examines why a QuantLib ImpliedTermStructure appears to change shape after the evaluation date is advanced. The example compares discount factors before and after moving the date by six months. The accepted explanation is that the underlying…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document raises a calculus question that appears when differentiating the product of an exponential time factor and a Vasicek short rate. It asks how the ordinary time derivative relates to the differential expression and whether multiplying the…

Fixed incomeStatistics
Quant Q&A

The note distinguishes a zero-coupon bond price from the pathwise discount factor used to discount cash flows. In the Vasicek model, the bond price has an analytic expression conditional on the current short rate. The discount factor along a simulated path…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document outlines a workflow for representing swaption volatility data in QuantLibXL and using it to price a swaption. First, construct an at-the-money volatility matrix with the QuantLibXL matrix function. Then extend the matrix into a volatility cube…

Fixed incomeOptionsVolatilityDerivatives pricing
Quant Q&A

The document explains how to interpret a default probability inferred from a credit default swap spread. A quoted CDS spread is observable, while default probability, hazard rate, and recovery are not directly observable. The simple…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document distinguishes a curve of rates across lending tenors from a forward curve for a single LIBOR tenor. A three-month LIBOR forward curve describes rates for successive future three-month periods; it is not just today’s three-month fixing. Similar…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The discussion addresses how to find the fair spread on a single-currency basis swap built with QuantLib’s floating-for-floating swap instrument. The instrument does not expose a direct method for solving the fair spread, so the suggested approach is to…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains how an investor can sell shares they do not own by borrowing them, selling them, then buying shares later to return to the lender. A custodian may locate shares from a long holder and arrange the loan, while passing along fees,…

EquitiesFuturesFixed incomeExecution
Quant Q&A

The document asks about software for valuing foreign exchange forward deals from trade details such as currencies, notional, forward and spot rates, and relevant dates. It frames fair value as having sensitivity to both exchange-rate changes and…

ForexDerivatives pricingFixed income
Quant Q&A

The document explains how dependence among loan defaults affects a portfolio’s loss distribution. If portfolio loss is the sum of individual loan losses, its expected value is the sum of their expected values, so changing correlation alone does not change…

Fixed incomeStatisticsRisk managementPortfolio construction
Quant Q&A

The document discusses why swap spreads can decline with tenor, especially at the long end, and emphasizes that the drivers vary by market and maturity segment. In developed markets, pension funds and other asset-liability investors may receive long-dated…

Fixed incomeRisk managementMarket microstructureUS markets
Quant Q&A

The document addresses a mistaken identity for a zero-coupon bond under stochastic interest rates. The bond price at a later time is a conditional expectation of future discounting; it cannot generally be obtained by multiplying its initial price by the…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document outlines a framework for stressing a bank’s net interest income (NII) with three yield curve factors: shift for level, twist for slope, and butterfly for curvature. It proposes estimating the factors, shocking them, constructing a stressed…

Fixed incomeRisk managementStatisticsPortfolio construction
Quant Q&A

The document poses an asset-pricing question about why long-duration bonds typically earn positive excess returns. It frames the issue through the covariance between an asset’s return and the stochastic discount factor: positive expected excess returns are…

Fixed incomeRisk managementStatistics
Quant Q&A

The document clarifies a differential step in the Musiela parameterization of forward-rate dynamics. A forward rate can be described either for a fixed maturity date or for a fixed time-to-maturity point on the yield curve. Since the latter point moves…

Fixed incomeDerivatives pricingStatistics
Quant Q&A

The document explains why investors searching SEC filings may not find loan-level ABS-EE data for residential mortgage-backed securities. The key distinction is between publicly registered offerings, for which loan-level disclosures are required, and Rule…

Fixed incomeUS marketsStatistics