QuantLib-SWIG icon indicating copy to clipboard operation
QuantLib-SWIG copied to clipboard

Add Mixed Interpolation for Python

Open TSchulz85 opened this issue 6 years ago • 1 comments

Add Mixed Interest Curve Interpolation as in the below example (see slide 41) https://speakerdeck.com/nando1970/advanced-eonia-curve-calibration?slide=41 https://sourceforge.net/p/quantlib/mailman/message/36190444/

TSchulz85 avatar May 03 '19 07:05 TSchulz85

Not sure if this is of any help or not, but after playing around with different types of RateHelpers, I found that if you do the discount factor calculation and then pass those to ZeroCouponBond and then to BondHelper, when you pass those helpers to the curve, you will effectively get the mixed interpolation output. It's a workaround, but might get you where you want to be until this issue is completed. Since there is no index for the BondHelper, you can bypass any calendar issues that may present themselves via using an index-based helper, and control forward rates on weekends/holidays etc.

mdelmedico avatar May 10 '19 18:05 mdelmedico

@TSchulz85 @lballabio I exposed mixed interpolation described there earlier this year: https://github.com/lballabio/QuantLib-SWIG/commit/67506f7b501197f4a9489bd315acbe31ae9f9c6a

eltoder avatar Dec 17 '23 14:12 eltoder

Thanks! That would be #566.

lballabio avatar Jan 05 '24 08:01 lballabio