Term Structure Models

Build and fit a yield curve, and price a zero-coupon bond in a short-rate model, without the convention and identification traps. TRIGGER - bootstrap a zero curve, par rates to zero rates, discount factors to zero rates, par bond reprice, curve stripping; day count ACT/365 ACT/360 30/360, annual vs semiannual vs continuous compounding, "my zero rate is off by a few basis points", "which day count did this curve use"; Nelson-Siegel, Svensson, Diebold-Li, lambda 0.0609, beta0 beta1 beta2 level slope curvature, "my Nelson-Siegel lambda jumps around"; Vasicek, CIR, Cox-Ingersoll-Ross, Hull-White one factor, A(t,T) B(t,T), affine bond price, Feller condition, "sqrt of a negative rate", NaN in my CIR simulation. SKIP for option pricing and implied vol (option-pricing-models, implied-vol-surface), for QuantLib's evaluationDate global (lib-quantlib), and for macro rate data sourcing such as FRED and Treasury series (fundamental-and-macro-data).

howard-lynn-ye 948ccc6 14.7 KB Updated

File contents

howard-lynn-ye/fin-skills/tree/main/fin_skills/_skills/term-structure-models commit 948ccc6652

Frequently asked questions

npx skillmds@latest add howard-lynn-ye/term-structure-models