[PYTHON] Memorandum MetaTrader 5

Notes about MetaTrader 5

About the matter that can not be called from python MetaTrader 5 module

Event

When I installed the MetaTrader 5 module on python3 and created a script to get Tick information regularly, the following error was issued and MetaTrader 5 could not be obtained.

Traceback (most recent call last):
  File ".\get_tick_sub.py", line 22, in <module>
    MT5WaitForTerminal()
RuntimeError: No IPC connection

Cause

My MetaTrader 5 app uses the one provided by TitanFX. Because the app name of MetaTrader of TitanFX was different from the original name of MetaTrader 5 The app was not found and a reference error was issued.

Workaround

Make the MetaTrader 5 app storage directory of TitanFX the same as the MetaTrader 5 original.

TitanFX default path

C:\Program Files\Titan FX MetaTrader 5

MetaTrader5 original pass

C:\Program Files\MetaTrader 5

complaints

I want you to be able to use arguments as much as you specify in the application I wish I had a configuration file, but ... → When I checked the MetaTrader module on the Python side, there was no such thing ... I want to reverse compile Tekapyd. ..

Recommended Posts

Memorandum MetaTrader 5
Matplotlib memorandum
linux memorandum
jinja2 memorandum
Python memorandum
Django memorandum
Command memorandum
plotly memorandum
multiprocessing memorandum
[Linux/LPIC] Memorandum
ShellScript memorandum
pip memorandum
Python memorandum
pydoc memorandum
python memorandum
Pandas memorandum
python memorandum
DjangoGirls memorandum
Command memorandum
Python memorandum
pandas memorandum
python memorandum
Python memorandum
Python basics memorandum
RAID type memorandum
Python pathlib memorandum
Knapsack problem memorandum
Memorandum of sed
Python memorandum (algorithm)
Linux memorandum [links]
nc command memorandum
numpy memorandum 1 / np.pad
Revit API memorandum
Memorandum conda command
Pandas operation memorandum
setuptools command memorandum
Python memorandum [links]
tslearn trial memorandum
Django's basic memorandum
Memorandum about validation