BusDaySwitch | ||||||||
Data Type: Integer (Optional) | ||||||||
Either an Integer (whole number) or the variable can be omitted. v | ||||||||
A Business Day Switch specifies which, if any, holiday regime you want the function to observe, for example, no holidays=zero or omitted, 20=weekends only, 200=USA (NYSE) Business Days. BusDaySwitch appears in many functions, but it is also useable anywhere where an Annual Date Sequences are used, for example the variables Periods and AnnDateSeq. So all the projections functions (eg FStep, Con etc) can use a BusDaySwitch. | ||||||||
Example: 1 | ||||||||
Variable Values | ||||||||
Default(s) | ||||||||
0 | No Business Day Convention: ie no days excluded. no holidays | |||||||
Switches | ||||||||
0 | No Business Day Convention: ie no days excluded. no holidays | |||||||
20 | Plain Business Days: Weekends only excluded | |||||||
21 | Plain Business Days 1: Weekends only excluded (if date on Saturday needs moving it goes to Monday UK-style) | |||||||
22 | Plain Business Days 2: Weekends only excluded (if date on Saturday needs moving it goes to Friday US-style) | |||||||
100 | UK Business Days (National): UK National Bank Holidays and weekends excluded. See List of Holidays | |||||||
101 | UK Business Days (English and Wales) | |||||||
102 | UK Business Days (Scotland) | |||||||
103 | UK Business Days (Northern Ireland) | |||||||
200 | USA Business Days: US New York Stock Exchange Holidays and weekends excluded | |||||||
201 | USA Business Days: US Federal Government Holidays and weekends excluded | |||||||
300 | Canada Business Days: Federal Holidays and weekends excluded | |||||||
400 | Australian Business Days: Federal (not state) Holidays and weekends excluded | |||||||
500 | Brazilian Business Days: National Holidays and Weekends Excluded |