MC Paths

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

MC Paths

luigi.vignola
Dear all

I'm a Newbie in QuantLib. In order to use it for the pricing of a
structured product (a kind of Altiplano structure), I'm interested in
the generation of $n$ paths of correlated Brownian Motions, say given
a known covariance matrix (or corr and vol).

Is anybody willing to share some piece of code and maybe some thoughts
on that?

Thank you in advance!

/Luigi

___________________________________________________________________

Disclaimer:


Diese Mitteilung ist nur fuer die Empfaengerin / den Empfaenger
bestimmt.

Fuer den Fall, dass sie von nichtberechtigten Personen empfangen wird,
bitten wir diese hoeflich, die Mitteilung an die ZKB zurueckzusenden
und anschliessend die Mitteilung mit allen Anhaengen sowie allfaellige
Kopien zu vernichten bzw. zu loeschen. Der Gebrauch der Information
ist verboten.


This message is intended only for the named recipient and may contain
confidential or privileged information.

If you have received it in error, please advise the sender by return
e-mail and delete this message and any attachments. Any unauthorised
use or dissemination of this information is strictly prohibited.



Reply | Threaded
Open this post in threaded view
|

Re: MC Paths

Luigi Ballabio-2
At 07:29 AM 4/10/03 +0200, [hidden email] wrote:
>Dear all
>
>I'm a Newbie in QuantLib. In order to use it for the pricing of a
>structured product (a kind of Altiplano structure), I'm interested in
>the generation of $n$ paths of correlated Brownian Motions, say given
>a known covariance matrix (or corr and vol).
>
>Is anybody willing to share some piece of code and maybe some thoughts
>on that?

Dear homonymous,
         I might have more time to answer later. But in the meantime, you
can have a look at ql/MonteCarlo/multipathgenerator.hpp --- it has all the
functionality you need, although documentation isn't really at par. Do feel
free to come back with any questions.

Later,
         Luigi