|
From: Васильева Е. А. <e.v...@1p...> - 2018-07-18 07:10:21
|
Hi Tom, Thank you for your help and detailed response. I will try to implied it. Regards, Evgenia -----Original Message----- From: Tom Anderson [mailto:tw...@ur...] Sent: Tuesday, July 17, 2018 7:07 PM To: Васильева Евгения Алексеевна Cc: qua...@li... Subject: Re: [Quantlib-users] FuturesConvAdjustmentQuote issue in Quantlib Hi Evgenia, FuturesConvAdjustmentQuote is a wrapper around the HullWhite::convexityBias function: https://www.quantlib.org/reference/class_quant_lib_1_1_hull_white.html#af554e020436a6a21568f1149d61e2f54 It is a 'plumbing' component which lets you use an automatically updated convexity value with the FuturesRateHelper, which you use to build a yield curve from futures prices. You would use it as the convexityAdjustment parameter to the FuturesRateHelper, constructor: https://www.quantlib.org/reference/class_quant_lib_1_1_futures_rate_helper.html If you just want to calculate convexities, it would be simpler to call HullWhite::convexityBias directly. Either way, you need the same inputs: 1. the value date of the future 2. the maturity date of the future's notional deposit 3. the price of the future 4. the volatility of the yield curve at that point (HullWhite::convexityBias calls this sigma); i am a bit hazy about the exact nomenclature, but i believe this is a normal, aka Bachelier, volatility 5. a mean-reversion constant (HullWhite::convexityBias calls this alpha, or a); i don't know if there's a way to derive this from market data, but i have been told it is done "empirically" Those are all simple parameters to HullWhite::convexityBias. If you want to use a FuturesConvAdjustmentQuote, you need to create one with handles linked to quotes, and set the values on the quotes. tom On Tue, 17 Jul 2018, Васильева Евгения Алексеевна wrote: > Dear All! > > First of all , my apologies for sending my question directly. I'm really have some technical issues with access to site. > Could you please help me, how to use FuturesConvAdjustmentQuote in Quantlib to get convexity adjustment for 3M Eurodollar futures? > > Hope for your understanding! > > Thank you, > Evgenia -- If you tolerate this, your children will be next. |