GetTradingDay()
GetTradingDay()
Definition
Returns the actual trading date based on the exchange, calculated from a DateTime object passed with the local time. GetTradingDay() calls CalculateTradingDay() on a custom SessionIterator object created by passing in a Bars object as an argument.
Warning: This method can ONLY be called when a SessionIterator was created with a ‘Bars’ parameter.
Property Value
A DateTime object representing the ActualTradingDayExchange.
Syntax
\<sessioniterator\>.GetTradingDay(DateTime timeLocal)

