Make sure your terminal is running the latest beta build. You can upgrade by logging into a MetaQuotes Demo account and then going to the help menu in the terminal and selecting "Check desktop upgrades".
If that doesn't work you can import the pymt5adapter package and use some of its advanced debugging.
from pprint import pprint import pymt5adapter as mt5 from pymt5adapter import MT5Error def main(): with mt5.connected(raise_on_errors=True): try: symbols = mt5.symbols_get() except MT5Error as e: print(f"The error is: {e}") if e.args[0] == mt5.RES_X_TERMINAL_VERSION_OUTDATED: print("Needs build {}. Has build {}".format( mt5.MIN_TERMINAL_BUILD, mt5.version()[1]) ) else: pprint(mt5.as_dict_all(symbols[:2])) if __name__ == '__main__': main()
I have the same error, try the above code and I got an error, anyway, how do I set up an account? Thanks
----> 8 with mtada5.connected(raise_on_errors=True): 9 try: 10 symbols = mtada5.symbols_get() ~\AppData\Roaming\Python\Python38\site-packages\pymt5adapter\context.py in __enter__(self) 135 })) 136 --> 137 raise MT5Error(err_code, err_description) 138 self._account_info = mt5_account_info() 139 self._terminal_info = mt5_terminal_info() MT5Error: INTERNAL_FAIL_INIT: IPC initialize failed, MetaTrader 5 x64 not found

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
What was I doing wrong?