Sessions
<< Click to Display Table of Contents >> Sessions |
A collection of session definitions of the configured Trading Hours template.
BeginDay |
A DayOfWeek value representing the begin day |
BeginTime |
An int value representing the begin time |
EndDay |
A DayOfWeek value representing the end day |
EndTime |
An int value representing the end time |
TradingDay |
A DayOfWeek value representing the trading day this session belongs to |
Tip: Each index value will represent a new defined session for the Trading Hours template. For example, accessing Bars.TradingHours.Sessions[0] would provide you with information for the first trading session configured in the Trading Hours template: |
// Print details for all sessions in the Trading Hours template |