New Process and trouble to generate pathes

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

New Process and trouble to generate pathes

Lapin
Hi,

I have added a BS Quanto Process.
Moreorless I extent BlackScholesMertonProcess with few new arguments.
I have overloaded the drift (to take into account the Quanto effect) and the apply functions.
When I launch a MC simulation, the x0[] array values (so the fixings at the nodes) becomes very negatives.
Should I overload any other methods (like evolve) to make it work?

Cheers
Reply | Threaded
Open this post in threaded view
|

Re: New Process and trouble to generate pathes

Luigi Ballabio
On Mon, 2008-01-07 at 06:10 -0800, Yomi wrote:
> I have added a BS Quanto Process.
> Moreorless I extent BlackScholesMertonProcess with few new arguments.
> I have overloaded the drift (to take into account the Quanto effect) and the
> apply functions.
> When I launch a MC simulation, the x0[] array values (so the fixings at the
> nodes) becomes very negatives.
> Should I overload any other methods (like evolve) to make it work?

No, I don't think so---drift and apply should be enough. As a matter of
fact, I think drift alone should be enough. Are you sure you had to
overload apply? How did you do it?

Luigi


--

Zawinski's Law:
Every program attempts to expand until it can read mail. Those
programs which cannot so expand are replaced by ones which can.



-------------------------------------------------------------------------
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-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users