The document asks whether the carry of a short bond futures position can be estimated by subtracting the cheapest-to-deliver bond's conventional yield from the futures implied repo rate. The answer explains why the direct subtraction is not generally valid:…
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 shows a QuantLib workflow for bootstrapping a yield curve from deposit rates, futures, and swap rates, then asks why some curve node dates do not match the apparent swap tenor dates. The example uses a U.S. calendar, modified-following…
The document considers how to estimate a Basel long-run average default rate when exposures enter and leave a portfolio during the year. It describes a simple estimator: at each year end, count the exposures still active, measure defaults among them over the…
The document describes an attempt to calculate daily yields to maturity for a panel of euro-area government bonds using prices, coupons, and time to maturity. The proposed approach defines a bond valuation function and applies a root-finding routine to solve…
The example explains how to calculate floating coupons in an asset swap when payment periods do not match a simple half-year assumption. Each coupon uses the annual LIBOR fixing plus the quoted spread, multiplied by notional and the accrual fraction…
A swap annuity factor represents the present value of receiving one unit on each relevant payment date of the underlying swap. It is closely related to PV01, the value change for a basis-point move, and helps value an off-market swap by scaling the…
The question asks whether the mean-reversion parameter in a short-rate model such as Hull–White can be inferred directly from the current yield curve. The response points readers toward a paper on the topic and notes that Hull–White fits within the…
The document explains why a bond's quoted spread to mid-swaps at issuance may not match a calculation using a government benchmark, a later yield curve observation, or the bond's coupon. In the example, the quoted reoffer spread is applied to the swap rate…
The document asks whether physical state probabilities can be recovered from current asset prices, state-contingent payoffs, and risk-neutral probabilities. Its central point is that state prices encode discounted, risk-adjusted probabilities; they do not by…
The document gives a finite-difference estimate of a fixed-income instrument’s convexity using its current price and projected prices after equal upward and downward parallel yield shifts. The central second difference, formed by adding the two shifted…
The example asks how to calculate the net present value of a property project with an upfront purchase, renovation payments over several months, and a later sale. The answer’s method is to place each cash flow on a timeline, convert the annual financing rate…
The document explains how to connect a zero-coupon bond’s price to the stochastic process for the short rate. If the rate follows an Itô diffusion under the risk-neutral measure, applying Feynman–Kac gives a pricing PDE with a terminal condition equal to…
The document asks how to express swap portfolio sensitivities in terms of bond and SOFR futures risks when the swap’s pricing model does not directly use those instruments. It frames the task as mapping risk between two instrument sets and explains that,…
The document derives the instantaneous volatility of a zero-coupon bond price under a one-factor Hull–White short-rate model. It presents the bond price as a deterministic function of time multiplied by an exponential term in the current short rate. The…
The document explains why annual rate labels can refer to different treatments of compounding. In the US usage it describes, nominal APR is generally a simple annualized rate, while effective APR or APY accounts for compounding; EAR is more commonly used…
The document compares a manually discounted fixed-rate bond price with the output from RQuantLib. Its example uses a five-year bond with annual coupons, a flat interest rate, and a settlement date one day after the evaluation date. The manual calculation…
The document explains why a QuantLib Gaussian one-factor swaption engine rejects a Vasicek model: the engine expects a model derived from Gaussian1dModel, while Vasicek does not meet that interface. The accepted answer shows using a GSR model instead,…
The document asks for current interest-rate modeling references that address the cessation of IBOR benchmarks, noting that established texts may predate the transition. The answer does not recommend a textbook; instead, it points to the generalized Forward…
The document presents a framework for funding valuation adjustment when derivative value and received collateral differ. In a modified Black–Scholes setting, collateral can be rehypothecated and earns a collateral rate, while unsecured funding costs more.…
The document raises a question about how to express a zero-coupon bond’s price at a future time when only earlier information is available. It gives the affine Vasicek pricing form, in which the bond price at a given time depends on the short rate at that…
The document explains how to interpret Eurodollar futures prices as implied forward rates and use them to build a sequence of zero-coupon rates and discount factors. Its central step is to convert each quoted futures price into a rate by subtracting the…
The document raises a derivatives-pricing question about VXTY futures, whose contract specification references options on ten-year Treasury futures. The author distinguishes option selling, which involves receiving an option premium, from entering a futures…
The document explains how to convert an annual effective interest rate into a rate for a shorter period, in the context of using an interbank rate as a proxy for the monthly risk-free rate. It gives compounding-based conversions for monthly and quarterly…
The document outlines a proposed backtest of a receiver swaption under a one-factor Hull–White or Gaussian Markov HJM framework. It describes forward rates in Musiela form, relates continuously compounded yields to average forward rates, and gives an…