The document explains how to calculate the yield to maturity of a semiannual coupon bond when the valuation date falls between coupon dates. It converts the quoted price from fractional bond notation into a decimal price, then identifies the timing issue in…
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 compares academic optimal-control models, especially Avellaneda–Stoikov, with the concerns a practitioner might face. The question highlights inventory-based quote skew, model complexity across many assets, and omitted inputs such as predictive…
A payer swaption gives its holder the right to enter a swap in which fixed is paid and floating is received. The discussion clarifies the option’s rate and bond-price interpretation: a payer swaption behaves like a call on the future swap rate and a put on a…
The document contrasts two possible paths for conditional default probabilities derived from cumulative default probabilities: a declining sequence and a rising sequence. It explains the declining pattern with a structural corporate finance intuition. A firm…
The document explains how to price a zero-coupon bond at an intermediate time in the one-factor Hull–White model and debug a QuantLib simulation. The bond value is expressed as a time-dependent factor multiplied by an exponential function of the current…
The document describes fitting a credit-rating transition matrix as a convex blend of a base matrix and a stress matrix. A single scalar weight determines the blend, and the proposed objective is the sum of squared cell-by-cell differences from an observed…
The discussion explains how a known discount margin (DM) can be used to estimate the price of a floating-rate note. For a simple floater, DM can be understood as the reference index plus the coupon spread and an additional yield component reflecting any…
The end-of-month Boolean in QuantLib date helpers determines how a tenor is added when a start date falls at month end. With the rule enabled, adding one month to June 30 produces July 31; with it disabled, the resulting date is July 30. This convention can…
The document considers how to estimate daily risk-free returns for calculating excess returns on individual stocks and a broad equity market. It discusses using a three-month Treasury bill yield as a proxy, and raises a key data question: quoted yields may…
The document contrasts the end-of-month delivery option in Treasury futures with the switch option before and after futures trading ends. Before expiry, the futures price remains variable and is driven mainly by the converted price of the cheapest-to-deliver…
The document considers how to use an option on a zero-coupon bond to protect a minimum yield. Its response translates a yield threshold into an approximate bond-price strike, then explains the position direction: selling a call at that strike limits the…
The document explains why effective interest formulas add one to a periodic rate, multiply the resulting growth factors, and subtract one at the end. The added one represents retaining the original principal as well as earning interest during each period.…
The document examines the parallel-shift assumption behind aggregating bond durations into a portfolio duration. It distinguishes shifts in the zero-rate curve from equal changes in the yields to maturity of individual coupon bonds, noting that coupon-bond…
The document examines the rare case where extending the maturity of a low-coupon bond trading at a deep discount can reduce its Macaulay duration. Duration is a present-value-weighted average payment time, so the maturity date alone does not determine…
The document asks whether Bloomberg’s cash flow generator for newly issued collateralized loan obligations is suitable for discounted cash flow valuation. The responses describe the tool as translating the cash flow waterfall documented in a CLO’s…
The document describes a finite-difference approach to effective duration for an interest rate instrument with optionality. The practitioner prices the instrument using a model calibrated to a discount curve and at-the-money swaption volatilities, shifts the…
A single-look CMS spread option pays on the difference between two forward constant-maturity swap rates relative to a strike on one expiry date. A CMS spread cap or floor instead consists of options settling on multiple dates. Both structures can express a…
The document explains how to select the interest rate input in Black–Scholes pricing. In the basic model, the rate represents short-term risk-free funding over the option’s life; a continuously compounded government bill yield with a maturity near the option…
A total return swap (TRS) exchanges an asset’s returns, including price changes and income, for financing payments. The asset leg is valued from the asset’s current price and accrued returns through the valuation date; expected future gains are not…
The document contrasts rational exercise models with behavioral approaches for embedded options, such as mortgage refinancing rights and callable corporate debt. Borrowers and issuers may exercise based on private circumstances, including personal finances…
This discussion surveys day-count conventions used to calculate interest accruals across bonds, money markets, floating-rate notes, and other instruments. It lists examples such as 30/360, Actual/360, Actual/365, Actual/Actual, and Brazil’s Business/252,…
The document explains how to express a Bachelier caplet as the difference between an asset-or-nothing payoff and a cash-or-nothing payoff. Under the stated forward-measure setup, the cash digital component is proportional to the strike times the probability…
The document describes a proposed stress-testing exercise for a zero-coupon yield curve built from daily observations. The curve combines a money-market-based short tenor with longer tenors interpolated from secondary-market Treasury rates. The author…
The response explains why a volatility surface matters when pricing a Bermudan swaption, an option exercisable on specified dates. It first clarifies that a Bermudan contract need not be exercisable from the beginning of its life, then outlines a model-based…