[ quantlib-Bugs-3402104 ] Act/365 Convention Wrong

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

[ quantlib-Bugs-3402104 ] Act/365 Convention Wrong

SourceForge.net
Bugs item #3402104, was opened at 2011-09-01 08:08
Message generated for change (Tracker Item Submitted) made by ariakus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3402104&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
Private: No
Submitted By: D W (ariakus)
Assigned to: Nobody/Anonymous (nobody)
Summary: Act/365 Convention Wrong

Initial Comment:
As per the 2006 ISDA docs, Act/365 should be calculated on a 365 day count, even if it is a leap year.  qlDayCounterYearFraction calculates Act/365 as the proportion of days in year vs the number of days in that year (ie. uses 366 in leap years) - this should be used for Act/Act not Act/365.
Example: start date 29-Aug-2011, end date 29-Aug-2011.  It returns 1.00093569877985 = 125/365 + 241/366
The correct answer is 1.00273972602740 = (125+241)/365



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

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

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev