Forum

MetaTrader5 Python initialize() returns -10005 in account-free offline tests on Windows and Wine

Hello everyone, We are investigating initialize() behavior in an isolated terminal with no configured trading account and no network access. Test versions: - MetaTrader 5 terminal: build 6295 - MetaTrader5 Python package: 5.0.6231 - CPython: 3.14.10, Windows x64 - NumPy: 2.5.4 - Environments: native