Login  Register

Re: Black-Scholes Process required in MCHimalayanEngine

Posted by Luigi Ballabio on Nov 27, 2010; 9:22pm
URL: http://quantlib.414.s1.nabble.com/Black-Scholes-Process-required-in-MCHimalayanEngine-tp12097p12102.html


On Nov 27, 2010, at 8:39 PM, Andreas Spengler wrote:
> I can adapt the MCHimalayaEngine to get the riskFreeRate from  
> somewhere
> else, but my original question was, whether there is anywhere deep in
> the MC code that also demands the StochasticProcess derived class to
> actually be a (Generalized)BlackScholesProcess...

No, no deep reason as far as I know.  I'd change the constructor to  
take a generic process and a handle to a discount curve, and use the  
first for path generator ad the second for discounting the payoff.  
I'd be grateful if you contributed the resulting code.

Luigi


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev