Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable Linux 64bit mt5 installation #12

Open
newuser202201 opened this issue Dec 19, 2022 · 3 comments
Open

Unstable Linux 64bit mt5 installation #12

newuser202201 opened this issue Dec 19, 2022 · 3 comments

Comments

@newuser202201
Copy link

The last 64bit mt5 version is crashing with wine. This has been documented on the mt5 forum https://www.mql5.com/en/forum/10114/page8#comment_43867431.

The 32 version which is automatically installed by this script (terminal.exe), https://www.metatrader5.com/en/terminal/help/start_advanced/install_linux, using a 32 bit wineprefix, is stable but it does not work with https://www.mql5.com/en/docs/integration/python_metatrader5, while teminal64.exe installed in a 64 wineprex crashes all the times.

What linux/wine/executable version are you using?

Thanks

@newuser202201 newuser202201 changed the title Stable Linux mt5 installation Unstable Linux 64bit mt5 installation Dec 19, 2022
@lucas-campagna
Copy link
Owner

This project was built when this problem wasn't occurring, at this time I was using Ubuntu-20.04, wine32 (not sure) I don't remember the executable version. Since I have moved to Windows + WSL, I'm no longer using this library (mt5linux). Try to do this https://www.mql5.com/en/blogs/post/751281. It seems to be a recent modification, they shall fix this as soon as possible.

@jimmymaise
Copy link

could you please release the new version to pypy. The version 0.1.9 is outdated

@newuser202201
Copy link
Author

newuser202201 commented Apr 7, 2023

Now metatrader works, though i am not sure if the installed version is old or was automatically updated.
Te mt5linux connection is established but not data can be retrieved. See below.

from mt5linux import MetaTrader5
mt5 = MetaTrader5(
#host = 'localhost',#(default)
#port = 18812 ,# (default)
)
mt5.initialize()

The code above returns False.

The server log is

INFO:SLAVE/18812:accepted ('127.0.0.1', 46208) with fd 220
INFO:SLAVE/18812:welcome ('127.0.0.1', 46208)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants