code copy_ticks_range not implemented

 
Hi everyone
I can't download the range ticks with the code shown ... why?
 
Rob_Gent:
Hi everyone
I can't download the range ticks with the code shown ... why?
Please insert the code correctly: when editing a message, press the button      Codeand paste your code into the pop-up window 
 
the connection is ok, but
Ticks received: 0
 
Rob_Gent #:

***

Please insert the code correctly: when editing a message, press the button   Codeand paste your code into the pop-up window 
 
# set time zone to UTC
timezone = pytz.timezone("Etc/UTC")
# create 'datetime' objects in UTC time zone to avoid the implementation of a local time zone offset
utc_from = datetime(2021, 5, 1, tzinfo=timezone)
utc_to = datetime(2021, 5, 5,  tzinfo=timezone)
# request AUDUSD ticks
ticks = mt5.copy_ticks_range("AUDUSD", utc_from, utc_to, mt5.COPY_TICKS_ALL)
print("Ticks received:",len(ticks))

result:
Ticks received: 0
 
Rob_Gent # :

Did you look at the help example? copy_ticks_range

 

yes, but do not work

 
Rob_Gent # :

yes, but do not work

I checked - everything works.

I have:

Выпуск  Windows 11 Домашняя
Версия  21H2
Дата установки  ‎29.‎07.‎2021
Сборка ОС       22000.466
Взаимодействие  Windows Feature Experience Pack 1000.22000.466.0
2022.01.24 20:57:32.937 Terminal        MetaTrader 5 x64 build 3160 started for MetaQuotes Software Corp.
2022.01.24 20:57:32.939 Terminal        Windows 11 build 22000, 12 x Intel Core i7-9750H  @ 2.60GHz, 24 / 31 Gb memory, 692 / 947 Gb disk, UAC, GMT+2
2022.01.24 20:57:32.939 Terminal        C:\Users\barab\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075

The result of the script 'copy_ticks_range.py'

2022.01.24 21:02:08.572 copy_ticks_range (AUDCAD,Daily) MetaTrader5 package author:  MetaQuotes Ltd.
2022.01.24 21:02:08.572 copy_ticks_range (AUDCAD,Daily) MetaTrader5 package version:  5.0.36
2022.01.24 21:02:08.991 copy_ticks_range (AUDCAD,Daily) Выведем полученные данные как есть
2022.01.24 21:02:08.991 copy_ticks_range (AUDCAD,Daily) (1621892100, 108.783, 108.785, 108.78, 108.784, 23, 1, 0)
2022.01.24 21:02:08.991 copy_ticks_range (AUDCAD,Daily) 
2022.01.24 21:02:08.991 copy_ticks_range (AUDCAD,Daily) Выведем датафрейм с данными
2022.01.24 21:02:08.991 copy_ticks_range (AUDCAD,Daily)                  time     open     high     low    close  tick_volume  spread  real_volume
2022.01.24 21:02:08.991 copy_ticks_range (AUDCAD,Daily) 0 2021-05-24 21:35:00  108.783  108.785  108.78  108.784           23       1            0
 
Thank you
Reason: