Price a forward with continuous dividend?

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

Price a forward with continuous dividend?

Student T
Hi,

I am looking at the code in forward.cpp on how a forward can be priced with continuous dividend. The formula is like this:

Inline image 1

but the code is like this in forward.cpp:

Inline image 2

This formula is the discrete implementation. Can the simple continuous version be priced?


------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Price a forward with continuous dividend?

Luigi Ballabio
I don't think so. You might try inheriting from the Forward class and overriding the calculation.

Luigi


On Fri, Oct 23, 2015 at 5:48 AM Ted Wong <[hidden email]> wrote:
Hi,

I am looking at the code in forward.cpp on how a forward can be priced with continuous dividend. The formula is like this:

Inline image 1

but the code is like this in forward.cpp:

Inline image 2

This formula is the discrete implementation. Can the simple continuous version be priced?

------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
--

------------------------------------------------------------------------------

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users