I am trying to get the Close Price of Previous Day during "Pre-Market" Session and add it as a label.
The above line of code only works during regular trading session starts at 9:30 AM EST. I need it work in pre-market hours.
Any pointers / help is much appreciated.
Code:
def PreviousClose = close(period = AggregationPeriod.DAY)[1] ;
The above line of code only works during regular trading session starts at 9:30 AM EST. I need it work in pre-market hours.
Any pointers / help is much appreciated.
Last edited by a moderator: