FixedRateCoupon contribution

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

FixedRateCoupon contribution

Piter Dias-3
Luigi,

I am reviewing the patch I sent some time ago.
My plan is send Bondvpatch again once there was some changes in QuantLib.
However, my changes are based on FixedRateCoupon and FixedRateLeg classes
generalization. I send them attached in this mail.
The idea is be able to construct more complex cash flow structures and allow
rates other than simple.
This patch is backward compatible, tested with QuantLib Test Suite.

This patch has a little correct in BusinessDaysBetween function of Calendar
class.

Let me know what you think about it.

Thanks a lot.


Piter Dias
[hidden email]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

FixedRateCoupon.patch (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: FixedRateCoupon contribution

Luigi Ballabio
On Sun, 2007-09-23 at 15:32 -0300, Piter Dias wrote:

> I am reviewing the patch I sent some time ago.
> My plan is send Bondvpatch again once there was some changes in QuantLib.
> However, my changes are based on FixedRateCoupon and FixedRateLeg classes
> generalization. I send them attached in this mail.
> The idea is be able to construct more complex cash flow structures and allow
> rates other than simple.
> This patch is backward compatible, tested with QuantLib Test Suite.
>
> This patch has a little correct in BusinessDaysBetween function of Calendar
> class.

Ok, I'll have a look.

Thanks,
        Luigi


--

Present to inform, not to impress; if you inform, you will impress.
-- Fred Brooks



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev