The document explains why building an OIS discount curve first and then using it to bootstrap a separate LIBOR forward curve may not capture the dependencies among curves and instruments. It describes a simultaneous calibration approach: choose market…
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.
Search the library
5,701 documents
The document asks how to calculate a credit default swap’s risky present value of a basis point (RPV01) and upfront payment for historical P&L. It presents a simplified formula based on coupon, par spread, remaining maturity, risk-free rate, and assumed…
The question proposes a cash-based arbitrage when a risk-free interest rate is negative: borrow or short a bond, keep the proceeds as currency, and repay a smaller amount later. The answers explain why this apparent zero lower bound does not hold…
The document asks how to derive a maturity derivative used to show when a Hull–White short-rate model is calibrated to the market instantaneous forward rate. It starts from the model’s zero-coupon bond price, which contains an integral involving the function…
The document asks how to calculate repayment rate and time to repay when a borrower takes out and repays multiple amounts at different dates. In particular, it asks how repayment timing might be weighted by the amounts borrowed and repaid. The response…
The document examines why QuantLib can report a callable bond’s effective duration as higher than its modified duration. It describes a setup using a Hull–White pricing engine, a callable fixed-rate bond, and a rate curve, then reports that effective…
The document explains what a negative mean-reversion estimate implies in the Hull–White one-factor short-rate model. It gives the model’s expected-rate expression and describes how a negative mean-reversion parameter causes expected rates to move away from…
The document diagnoses unexpectedly high rates returned by QuantLib when converting a yield curve to annual compounding. The example supplies zero-rate inputs that appear to be percentages, then compares continuous and compounded outputs and finds that the…
The document examines whether a swaption’s theta can be estimated from gamma and implied volatility, and why a model’s reported theta may differ from that estimate. Under the normal model, the response identifies theta as approximately negative one half of…
The document explains how to move from a Nelson–Siegel yield curve to the present value of a bond’s cash flows. In this setting, the curve supplies zero-coupon rates by maturity. Convert each rate into a discount factor for the matching cash-flow date, then…
The document separates the effect of correlation on an individual caplet from correlation among forward rates along the yield curve. A caplet pays based on one forward rate at its expiry. Since its payoff depends on that rate alone, correlation with other…
The document distinguishes interest rate risk from credit spread risk when a borrower plans to draw a floating-rate facility in the future. A forward-starting swap can exchange the future floating reference rate for a fixed rate, but the borrower remains…
The document discusses a QuantLib error when pricing a EURIBOR floor in a market with negative interest rates. The Black cap and floor engine checks that the forward rate plus the volatility displacement is positive. In the example, a negative historical…
The document describes a fixed-income carry trade in which a trader borrows cash through repo and uses it to buy government bonds. The basic condition for positive carry is that bond income exceed the financing cost. The example discusses cheap short-term…
The document explains how to relate a borrower's marginal default probabilities across periods to the probability of default in a given period conditional on survival to its start. The motivating example comes from logistic-regression estimates of…
The document asks how to interpret a claim that single-factor interest-rate models can make the vanilla-option hedge for a Bermudan option sensitive to changes in the yield curve. The author observes that hedges in any model may need rebalancing when rates…
The document considers calibrating Hull-White and Jarrow-Yildirim interest rate models when only nominal and inflation-indexed bond prices are available. It clarifies that in the Hull-White bond formula, time zero represents a bond starting now, the…
The document compares Markit’s par spread, conventional spread, and upfront payment as inputs for analyzing relationships between sovereign and banking credit default swaps. It argues that par spreads persist mainly for compatibility with older conventions…
The document explains why a QuantLib futures rate helper rejects a Monday date supplied for a Eurodollar contract when configured to use IMM dates. IMM dates are Wednesdays, and the dates given in the question are therefore not valid IMM dates. QuantLib…
The discussion considers whether stock prices and credit default swap (CDS) spreads should be modeled in levels or differences when testing for Granger causality. The questioner uses log stock returns and first differences of CDS spreads because both level…
The question describes a company planning to issue commercial paper in the future and asks how to hedge its financing exposure with a Eurodollar futures contract. The point of confusion is which maturities belong in the duration ratio: the time until the…
The document addresses a Python interoperability issue when converting pandas timestamps into QuantLib dates for financial calculations. The original example extracts year, month, and day into a dataframe and constructs QuantLib dates row by row. That…
The document considers fitting the SVI volatility model to swaption implied volatilities when forward swap rates can be negative. Standard SVI formulations use log-moneyness, based on the ratio of strike to forward, which is undefined when those rates are…
The document poses a swap-pricing problem in which the floating leg is represented by a risky rate that evolves on a two-period binomial tree. It supplies a risk-free rate and starting risky rate, along with upward and downward rate multipliers, and asks how…