hello everyone,
I am new here, and trying to access the history data-set by time for example:
exchange_time = pd.Timestamp(get_datetime()).tz_convert('US/Eastern')
vol_first15minutes = history(20*390, '1m','volume')
for v in vol_first15minutes:
if exchange_time.hour == 9 and (exchange_time.minute >= 30 and exchange_time.minute <= 45):
# I want to get the volume if that bar was between 9:30 and 9:45
Any help is highly appreciated