|
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) |