Returns bit mask for days/sessions that had holiday.
Read-only property
Visual Basic |
---|
Public Property SessionMask As eSessionWeekDays |
Session bitmask, represented as eSessionWeekDays
Example:
bitmask value | |
Dec | 127 |
Bin | 1111101 |
(Dec): 127
(Bin): 1111101
If the instrument has 2 sessions, we need to check for the last 2 binary digits of the bitmask to resolve whether those sessions were holidays or not.
- 0 means that the session was not a holiday
- 1 means that the session was a holiday
The session numbers should be resolved as following: 6543210
For our example 1111101, which has two sessions; we need to resolve the last digits 01, where:
- 1 stands for session number 0 which is a holiday, and
- 0 stands for session number 1 which is not a holiday.
For more information, see CQGCEL.HistoricalSessionsResolved's remark section.