Just a quick question, hope it's not too stupid:

The variables TradeDays, DrawDownDays and CurveLength contain number of days. Is it (in general) number of calendar days, number of business (i.e. trading) days or number of days when there's a change in equity?