I want to utilize SecondsFromTime and SecondsTillTime in thinkscript to write a code to place in my scanner that will only scan premarket from 4am - 9:30 am.
Found this example:
Found this example:
Code:
# The following statement will be true any time AFTER 9:30 am
def Aftr930 = secondsFromTime(930) > 0;