Forum

function copy_rates_from_pos return empty data when running in python file but return correct data when using jupyter notebook

Hi all, currently, I am creating the python script to pulling m5 data (login with XM broker). Yesterday, the code ran well but it failed today. I have tried to run the code in jupyter notebook but it still worked well (receiving the data), however it returns empty when using termial to trigger the