|
From: SourceForge.net <no...@so...> - 2011-09-01 07:08:50
|
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 |