Hello everyone,
I am new here and could use some help.
I am interested to find out the number of occurrences the SPY daily low and high happened at each 30 minute time interval, based on the maximum available history.
e.g.:
High of day 09:30-10:00: 300; 10:01-10:30: 450 ... 16:01-16:30: 230
Low of day 09:30-10:00: 200; 10:01-10:30: 350 ... 16:01-16:30: 270
Then I want to create two histograms using this data (one for the high of day and one for the low of day) which will show the probabilities of the daily low or high happening at each interval.
If anyone already did this or could direct me to a similar Python script that I could use as a template I would appreciate it a lot.
Thank you guys.