How to apply milstein scheme and exact solution to BackSholes Processes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to apply milstein scheme and exact solution to BackSholes Processes

thusitha liyanage
Hi,
 
I believe BlackScholesProcess uses Euler scheme to evolve the stochastic process (the default behavior).
 
Could some one please tell me how I can change that to use Milstein scheme instead. I can see that there is something similar to that in HestonProcess in the evolve method. But it does not use any descritize class. Instead it uses case statements to do the thing

        switch (discretization_)

 
Also I would like to know how I can use explicit solution of the BS model instead of descritized versions.
 
The following is in HestonProcess.
  • case ExactVariance:
  • // use Alan Lewis trick to decorrelate the equity and the variance
  • // process by using y(t)=x(t)-\frac{rho}{sigma}\nu(t)
  • // and Ito's Lemma. Then use exact sampling for the variance
  • // process. For further details please read the wilmott thread
  • // "QuantLib code is very high quality"

 

The code underneath the above comment; is this an example of exact solution?
 
Also I read the thread "QuantLib code is very high quality", in the Wilmot Forum, I couldn't find anything related to ExactVariance, other than seeing a heat equation in that thread.
 
 
Thanks and regards,
 
Thusitha
 
 
 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users