Forum

11 Feb 2022, copy_rates_from() function suddenly can't download daily price longer than 300 days

Anyone having the same problem? 150 days were fine but 350 days will return an empty dataframe

How do you deal with failed closing request?

I've been doing pair trading with python on MT5. Sometimes when I close the position in a pair, one symbol was executed successfully while the other failed. Usually I wait a few minutes and run the same code again, and it would be closed successfully. But this often led to undesirable closing price