Metatrader5 Libarary In Python 3.7
I am trying to analyze currency data using MT5 in Python but it is not working. I didn't understand where is the problem? even importing is not work from MetaTrader5 import * from
Solution 1:
I have a computer with a Windows 10 64-bit installation where everything would work without a hitch. I also have another machine with a Windows 10 32-bit installation, which would always complain about an invalid IPC connection. Not the official MetaTrader 5 version, nor my broker's customized version would work out of the box.
I eventually fixed it by specifying the path to my broker's exe in the initialize function like below (check for your own path, and mind the use of /
instead of \
):
mt5.initialize("C:/Program Files (x86)/GT247/terminal.exe")
Post a Comment for "Metatrader5 Libarary In Python 3.7"