|
From: Yomi <gui...@gm...> - 2008-02-18 13:29:11
|
Hi, I have discussed with Klaus Spedersen some issues for Heston related to the Feller condition. In summary, the volatility process could reach negative level if this condition is not verified. To avoid this I have implemented a small constraint class that checks this condition. http://www.nabble.com/file/p15545372/Heston_Calibration_constraint.hpp Heston_Calibration_constraint.hpp You can use this file to include it into QL if you wish. Cheers -- View this message in context: http://www.nabble.com/Feller-Constraint-for-Heston-calibration-tp15545372p15545372.html Sent from the quantlib-dev mailing list archive at Nabble.com. |
|
From: Klaus S. <kl...@sp...> - 2008-02-18 20:24:30
|
Hi often the Feller condition is not satisfied in real problems (especially for equity and fx). In general this doesn't matter. And even if the condition is fulfilled a plain vanilla Euler scheme will produce negative variance. cheers Klaus On Monday 18 February 2008 14:29:08 Yomi wrote: > Hi, > > I have discussed with Klaus Spedersen some issues for Heston related to the > Feller condition. In summary, the volatility process could reach negative > level if this condition is not verified. > To avoid this I have implemented a small constraint class that checks this > condition. > > http://www.nabble.com/file/p15545372/Heston_Calibration_constraint.hpp > Heston_Calibration_constraint.hpp > > You can use this file to include it into QL if you wish. > > Cheers -- Klaus Spanderen Ludwig Erhard Str. 12 48734 Reken (Germany) EMail: kl...@NO... (remove NOSPAM from the address) |
|
From: Luigi B. <lui...@gm...> - 2008-02-22 11:41:54
|
On Feb 18, 2008, at 9:24 PM, Klaus Spanderen wrote: > often the Feller condition is not satisfied in real problems > (especially for > equity and fx). In general this doesn't matter. And even if the > condition is > fulfilled a plain vanilla Euler scheme will produce negative variance. So Klaus, if I understand correctly, you advise against putting the constraint in? Luigi |
|
From: Klaus S. <kl...@sp...> - 2008-02-22 20:44:00
|
Hi, the Feller constraint is already in QuantLib .. well hidden as an inner class of the class HestonModel and called HestonModel::VolatilityConstraint (okay, the name wasn't that clever;-) IMO the constraint is more of "academic interest". I wouldn't use in real life. Klaus On Friday 22 February 2008 12:41:41 Luigi Ballabio wrote: > On Feb 18, 2008, at 9:24 PM, Klaus Spanderen wrote: > > often the Feller condition is not satisfied in real problems > > (especially for > > equity and fx). In general this doesn't matter. And even if the > > condition is > > fulfilled a plain vanilla Euler scheme will produce negative variance. > > So Klaus, if I understand correctly, you advise against putting the > constraint in? > > Luigi > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- Klaus Spanderen Ludwig Erhard Str. 12 48734 Reken (Germany) EMail: kl...@NO... (remove NOSPAM from the address) |
|
From: Ferdinando A. <na...@am...> - 2008-02-25 09:56:41
|
On Fri, Feb 22, 2008 at 9:44 PM, Klaus Spanderen <kl...@sp...> wrote: > the Feller constraint is already in QuantLib .. well hidden as an inner class > of the class HestonModel and called HestonModel::VolatilityConstraint (okay, > the name wasn't that clever;-) why don't you rename it? ;-) ciao -- Nando |
|
From: Klaus S. <kl...@sp...> - 2008-02-25 21:03:30
|
commit...done;-) On Monday 25 February 2008 10:56:39 Ferdinando Ametrano wrote: > On Fri, Feb 22, 2008 at 9:44 PM, Klaus Spanderen <kl...@sp...> wrote: > > the Feller constraint is already in QuantLib .. well hidden as an inner > > class of the class HestonModel and called > > HestonModel::VolatilityConstraint (okay, the name wasn't that clever;-) > > why don't you rename it? ;-) > > ciao -- Nando > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- Klaus Spanderen Ludwig Erhard Str. 12 48734 Reken (Germany) EMail: kl...@NO... (remove NOSPAM from the address) |