The document sets up the present value of a life annuity that pays a fixed amount yearly from a deferred start date until the holder dies. It discounts each possible payment using the relevant zero rate and weights it by the probability that the holder…
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 response cautions that an expected end to quantitative easing does not automatically imply falling Treasury futures prices or a profitable long put position. If a policy change is widely anticipated, markets may already reflect it. The author also points…
The document discusses the two-dimensional term structure of lognormal implied volatility for European swaptions, varying by option expiration and underlying swap tenor. It describes a typical pattern in which volatility may rise over the shortest…
The document explains why a common Bloomberg approximation for the five-year inflation rate beginning five years ahead uses twice the 10-year zero-coupon inflation swap rate minus the 5-year rate. It contrasts that linear calculation with a compounded…
The note discusses how to represent recovery for a bond whose promised solvent-state cash flows have fallen far below its original notional. It cautions against assuming that recovery should simply be a standard fraction of face value: distressed creditors…
The document explains that QuantLib’s C++ calendar interface provides a holiday-list function, but the Python wrapper does not expose it. Calling that method from a Python calendar therefore raises an attribute error, and calling it as a standalone function…
This note explains a negative-time pricing error when using a QuantLib zero curve to value a credit default swap. The cause is the curve’s first date: the example builds the curve from rates beginning one month after the evaluation date, so discounting or…
This note explains why manually calculated zero rates for two deposits may differ from a QuantLib piecewise linear zero curve. The key is that the deposits do not share the curve’s valuation date as their start: the overnight transaction runs over one day,…
The document addresses where to find long-run US savings-account and short-term Treasury bill rates. It explains that savings rates vary by bank because institutions set their own rates and terms, making a single historical series difficult to define. It…
The document asks how to choose bond positions that replicate the issuer exposures of an equally weighted CDS index. Its two-issuer example contrasts investing equal bond notionals, which produces unequal market-value weights when the bonds trade at…
The document explains which risk-free rates to use when discounting project cash flows to today. A cash flow arriving at a future horizon should be discounted with the spot rate for that horizon, raised to the matching number of periods. A forward rate is…
The document addresses whether an internal rate of return should be described as a nominal or effective interest rate. It distinguishes a quoted rate with a specified compounding frequency from an effective rate converted to a different period. For instance,…
The document investigates why three tools produce different clean prices for the same fixed-rate bond. It lists the bond’s coupon, maturity, yield, face value, and valuation inputs, then reports differing outputs from Bloomberg YAS, RQuantLib, and a Hoadley…
The document asks how a USD investor should compare keeping cash in dollars with using a USDJPY FX swap to fund a Japanese bond. It distinguishes the implied yield from the swap from the bond’s yield and asks whether a swap alone could be preferable when its…
The discussion considers whether a widening gap between a bond futures price and its spot price causes the bond yield to rise. The answers describe the price gap as related to financing carry and argue that changes in yields or financing conditions generally…
The document describes how a swaption trader can move from an at-the-money implied volatility surface to prices for options struck away from the money. The answer says that desk models commonly add parameters for the volatility smile and skew: these capture…
The discussion explains why discount factors are often expected to fall as payment dates move further into the future. It frames discounting as valuing later cash flows through successive periods: if each period has a discount factor below one, multiplying…
The document asks whether a LIBOR rate can be modeled like a stock price with geometric Brownian motion, then outlines concerns with that choice. One response argues that interest rates tend to exhibit stationarity, whereas Brownian motion does not, so the…
The document considers forecasting daily three-month and one-month LIBOR over a long horizon by treating observed rates as instantaneous short rates and estimating Vasicek model parameters with regression. The proposed use is forecasting rather than…
The document explains how deflation affects the floating inflation leg of an inflation swap relative to its fixed leg. It compares the arrangement with an interest rate swap: if realized inflation is negative, the floating return can be negative, so the…
The document explains why sovereign credit default swap spreads in different currencies cannot be reliably harmonized using only interest rates. In an idealized setting with liquid, efficient markets, one could infer risk-neutral default probabilities using…
The document explains how to describe a move in Treasury yields and what a yield to maturity represents. For a change from 1.00% to 1.10%, it favors stating the difference in percentage points, commonly expressed as 10 basis points, rather than a percentage…
The document examines whether a Federal Reserve rate cut is simply the result of bond purchases that raise bond prices and lower yields. The responses explain that the Fed announces a target for interest rates and uses its operations to steer prices and…
The document explains how a near at-the-money payer and receiver swaption pair behaves as the underlying forward swap rate moves. Its initial delta is approximately zero, though the exact value depends on the pricing setup; spot-premium treatment can also…