Actual/252

Submitted by morgdx on Mon, 2006-10-23 09:47.

Actual/252 differs significantly from all other day count conventions in that its numerator is calculated as the number of business days between two dates and the denominator is 252, which is the average number of business days in a year in Brazil.

In order to calculate the day count fraction you must know the calendar of holidays between the start and end date of the period in order to be able to count the number of valid business days; the number of days which are not weekends or national holidays.

Once you have the count of business days the calculation is simply:

Number of business days/252

Vote Result
Score: 0.0, Votes: 0
email this story
Submitted by Anonymous on Wed, 2008-07-16 21:55.

calling daysBetween on the Business252 calculator returns the actual number of days between calendars, not the number business days between calendar. Why is that?

Submitted by morgdx on Sat, 2008-07-19 07:22.

Hi,

The daysBetween method is a utility method on the abstract DaycountCalculator base class, it was only really put there to remove duplication from the concrete implementations.

If you want to get the business days between two dates, you should use the getBusinessDaysBetween method on the holiday calendar itself.

Hope this helps.

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
More information about formatting options Captcha Image: you will need to recognize the text in it.
Please type in the letters/numbers that are shown in the image above.