error code = -10003
You need to specify the name of the file and use double backslashes, so path would be: "C:\\Program Files\\MetaTrader 5\\terminal64.exe"
So this should work:
mt5.initialize(path="C:\\Program Files\\MetaTrader 5\\terminal64.exe", login=28735868, server="MetaQuotes-Demo",password="ptnlvtdi")
i am trying to login to an account using the python integration , and when i tried this code everything worked splendidly :
but when i added the "path" it stopped working and i got this:
this is the code with path :
and this is the issue that i got :