lucas-campagna / mt5linux

MetaTrader5 for linux users
MIT License
63 stars 36 forks source link

path error initializing #6

Closed R470R closed 1 year ago

R470R commented 1 year ago

Hello

# import the package
from mt5linux import MetaTrader5
# connecto to the server
mt5 = MetaTrader5(
     host = 'localhost',
     port = 18812      
) 
path = '/home/f30x/.mt5'
if not mt5.initialize(path = path, login=1135454, server="VantageFXInternational-Live",password="xtsV25h2") :
    print("initialize() failed, error code =",mt5.last_error())
    quit()

initialize() failed, error code = (-10003, "IPC initialize failed, Process create failed '/home/f320x/.mt5'")

The path is giving error, already tried 3 different paths, do you know how can i gather the right one ?

R470R commented 1 year ago

Solved it, needed to search on hidden items.

james-coder commented 1 year ago

If solved, please close the issue.