I am developing code to determine the best trading time(s) each day for an instrument. The code currently uses arrays for storage of trades based on a 1 minute seconday bar series. Thus 390 bars per trading day for stocks (9:30 AM - 4:00 PM). Any ideas on how to set up initial code (if{}, etc.) for testing all combinations of times in a trading day based on the 1 minute secondary bar series?
Thanks,
Tony
Comment