Uses of Interface
com.quantfinlib.rates.CurveInstrument
Packages that use CurveInstrument
Package
Description
Fixed income: curves, bonds, swaps, day counts and calendars, with
market conventions.
-
Uses of CurveInstrument in com.quantfinlib.rates
Classes in com.quantfinlib.rates that implement CurveInstrumentModifier and TypeClassDescriptionfinal recordA cash deposit over[start, end]at simple raterate:1at start grows to1 + rate * tauat end, tau fromdayCount.final recordA forward rate agreement on the index period[start, end]at fixed raterate.final recordA vanilla fixed-for-floating interest rate swap in the multi-curve framework: the floating coupons are projected off a projection curve (for example 3M) and both legs are discounted on the OIS curve (collateralised pricing; Bianchetti 2010, "Two curves, one price", Risk 23(8); Ametrano and Bianchetti 2013, "Everything you always wanted to know about multiple interest rate curve bootstrapping but were afraid to ask", SSRN 2219548).final recordAn overnight indexed swap: fixed rate against the daily-compounded overnight rate (SOFR, ESTR, SONIA), same schedule on both legs, payment on the accrual end date (no payment lag).final recordA short-term interest rate future (3M SOFR/Euribor style) on the index period[start, end], quoted by its futures raterate = (100 - price)/100.Methods in com.quantfinlib.rates that return CurveInstrumentModifier and TypeMethodDescriptionCurveInstrument.withQuote(double quote) The same instrument with a different quote (used for bump-and-rebuild risk).Method parameters in com.quantfinlib.rates with type arguments of type CurveInstrumentModifier and TypeMethodDescriptionstatic DiscountCurveMultiCurveBootstrap.bootstrap(LocalDate valuationDate, List<CurveInstrument> instruments, CurveInterpolation interpolation) A self-discounting curve (OIS: deposits on the overnight rate and OIS swaps).static DiscountCurveMultiCurveBootstrap.bootstrapProjection(LocalDate valuationDate, List<CurveInstrument> instruments, CurveInterpolation interpolation, DiscountCurve discount) A projection curve, discounting on the fixeddiscountcurve.static double[]BootstrapJacobian.bucketedDv01(LocalDate valuationDate, List<CurveInstrument> oisInstruments, List<CurveInstrument> projectionInstruments, CurveInterpolation interpolation, ToDoubleBiFunction<DiscountCurve, DiscountCurve> pv) Per-quote DV01 with the same contract and ordering asMultiCurveRisk.bucketedDv01(LocalDate, List, List, CurveInterpolation, ToDoubleBiFunction): the PV change for +1bp in each quote, OIS quotes first, by the implicit-function Jacobian.static double[]MultiCurveRisk.bucketedDv01(LocalDate valuationDate, List<CurveInstrument> oisInstruments, List<CurveInstrument> projectionInstruments, CurveInterpolation interpolation, ToDoubleBiFunction<DiscountCurve, DiscountCurve> pv) Per-quote DV01, OIS quotes first then projection quotes.static CurvePairMultiCurveRisk.buildCurves(LocalDate valuationDate, List<CurveInstrument> oisInstruments, List<CurveInstrument> projectionInstruments, CurveInterpolation interpolation) Builds the curve pair: OIS fromoisInstruments, projection fromprojectionInstrumentsdiscounted on it (the OIS curve itself when that list is empty).static double[]MultiCurveRisk.keyRateDv01(LocalDate valuationDate, List<CurveInstrument> oisInstruments, List<CurveInstrument> projectionInstruments, CurveInterpolation interpolation, ToDoubleBiFunction<DiscountCurve, DiscountCurve> pv, double[] keyTenorsYears) Key-rate DV01s atkeyTenorsYears(strictly increasing, ACT/365F years); one value per key.static doubleMultiCurveRisk.parallelDv01(LocalDate valuationDate, List<CurveInstrument> oisInstruments, List<CurveInstrument> projectionInstruments, CurveInterpolation interpolation, ToDoubleBiFunction<DiscountCurve, DiscountCurve> pv) DV01 for a +1bp move in every quote.static double[][]BootstrapJacobian.quoteJacobian(CurvePair curves, List<CurveInstrument> oisInstruments, List<CurveInstrument> projectionInstruments) dI_k/dY_j: rows are the OIS instruments then the projection instruments (input order), columns the OIS curve pillars then the projection curve pillars (pillar order).