Making MT5 + Python setups less painful for normal users

 

I've been working with MT5/Python projects and there is one problem that keeps coming back.

The actual trading logic is often not the difficult part. Installation and troubleshooting are.

A user can have 2 or 3 MT5 terminals installed, Python connected to the wrong one, a dependency installed in another environment, a different broker symbol, or simply one process that stopped working.

Then you get the famous message: “It doesn't work” :)

I'm currently experimenting with a small runtime that tries to handle most of this automatically.

The idea is simple: the user should ideally only have to install it, select the MT5 terminal if several are detected, give the required permissions, attach the EA, and run it.

The runtime would handle things like terminal detection, Python environment setup, dependency checks, connection verification and basic diagnostics.

If something fails, instead of asking the user for 10 screenshots, it should be able to say something useful, for example:

“EA is running in terminal A, but Python is connected to terminal B.”

or:

“Python is running, but no new market data has been received for 8 seconds.”

I'm curious about something before I go much further with it.

For people here who use MT5 + Python regularly: what is the most annoying installation or connection problem you've encountered?

I'm especially interested in problems that keep coming back with clients or on different computers.