[ quantlib-Bugs-1461368 ] cashflowvectors with act/act (isma)

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

[ quantlib-Bugs-1461368 ] cashflowvectors with act/act (isma)

SourceForge.net
Bugs item #1461368, was opened at 2006-03-30 04:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1461368&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: cashflowvectors  with act/act (isma)

Initial Comment:
Hi,

can it be that there's a mistake in the
function 'FixedRateCouponVector', which is included in
the file 'cashflowvectors.cpp'?
I wonder if the yearfractions were calculated
correctly if the daycounter is set to act/act (isma).
If this daycounter is used to calculate a
yearfraction, one really needs the reference period,
which is in general different from the accrued period.
But the function 'FixedRateCouponVector' creates
coupons á la
FixedRateCoupon(nominal, paymentdate, rate,
dayCounter, start, end, start, end), so that the
accrual period (args 5&6)and reference period (args
7&8) are apparently identical.
Am I right?


Regards,
Christian Alpert, [hidden email]

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=1461368&group_id=12740