Hello,
I am reporting a reproducible Python API IPC problem after MetaTrader 5 updated to terminal build 6230.
CURRENT ENVIRONMENT
Windows 11 x64
MetaTrader 5 terminal build: 6230
Python: 3.12.14 x64
Official MetaTrader5 Python package: 5.0.6231
The terminal is already running and connected normally.
Minimal reproduction:
import MetaTrader5 as mt5
path = r"C:\Program Files\PU Prime MT5 Terminal\terminal64.exe"
result = mt5.initialize(path=path, timeout=120000)
print(result)
print(mt5.last_error())
Result:
False
(-10005, 'IPC timeout')
The failure occurs inside initialize(), before terminal_info(), account_info(), symbol_info() or symbol_info_tick() can be called.
TESTS ALREADY PERFORMED
- explicit terminal path
- default and 120-second timeout
- portable=False
- clean terminal restart
- Python and terminal are both x64
- same Windows user
- same Windows session
- same integrity level
- IPC pipe exists and its ACL permits the current user
- official MetaTrader5 Python package 5.0.6231
- minimal reproduction without our application code
The result remains -10005.
IMPORTANT REGRESSION EVIDENCE
The same PU Prime terminal installation previously worked with:
MetaTrader 5 terminal build 6182
MetaTrader5 Python package 5.0.6180
Python 3.12.14 x64
Three independent validation cycles succeeded.
mt5.initialize() completed in approximately 2.03–2.51 ms and terminal_info() / account_info() worked correctly.
After MetaTrader LiveUpdate updated the terminal to build 6230, the Python IPC connection began consistently returning -10005.
Am observat, de asemenea, același comportament de -10005 la o altă instalare MetaTrader 5 după ce s-a actualizat la aceeași versiune 6230.
DE AȘTEPTAT:
mt5.initialize() stabilește conexiunea IPC către terminalul în rulare.
ACTUAL:
mt5.initialize() expiră cu:
(-10005, 'Timeout IPC')
A reprodus cineva asta cu versiunea terminalului 6230?
Există o regresie IPC cunoscută în versiunea 6230 sau o modificare necesară a configurației atunci când se folosește pachetul oficial Python 5.0.6231?
Dacă este util, pot oferi scriptul minim de reproducere, jurnalele terminalului și rapoartele anterioare de validare cu succes build-6182/API-5.0.6180.
Nu sunt implicate operațiuni comerciale. API-ul Python este folosit doar în citire pentru datele de piață.
Mulțumesc.
- MetaTrader 5 Platform Update Build 5830: General Improvements
- Python Integration - initialize
- Python Integration : -10003, 'IPC initialize failed, MetaTrader 5 x64 not found'
Not reproducible.
import sys # Python version print(sys.version) import MetaTrader5 as mt5 print("MetaTrader5 package version: ",mt5.__version__) # display data on MetaTrader 5 version print("MetaTrader5 running Build: ",mt5.version()) # path = r"C:\Program Files\PU Prime MT5 Terminal\terminal64.exe" path = r"D:\Apps\MT5\Alpari\terminal64.exe" result = mt5.initialize(path=path, timeout=120000) print(result) print(mt5.last_error())
3.12.14 (main, Sep 29 2026, 15:00:58) [MSC v.1944 64 bit (AMD64)]
MetaTrader5 package version: 5.0.6231
MetaTrader5 running Build: (500, 6230, '25 Sep 2026')
True
(1, 'Success')
MetaTrader5 package version: 5.0.6231
MetaTrader5 running Build: (500, 6230, '25 Sep 2026')
True
(1, 'Success')
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register