- Installation on Mac OS - For Advanced Users - Getting Started
- Installing Python and the MetaTrader5 package
- Integration with Python
I have zero experience with Mac, but as far as I understand it, to use the Python API on a Mac, you will probably have to use a Windows version of Python running in the same virtualised environment as MetaTrader 5.
Forum on trading, automated trading systems and testing trading strategies
MT5 Python integration on Mac M1 (ARM)
Fernando Carreiro, 2022.09.06 13:00
You will probably have to run a "Windows" python setup on Wine as well. I don't think it will be able to "talk" to the the macOS setup of Python.
Forum on trading, automated trading systems and testing trading strategies
Dear MetaQuotes can you build a python SDK for arm archtecture?
Fernando Carreiro, 2023.02.04 16:02
MetaTrader 5 is a Windows application, and is therefore aimed at Intel based CPU's. It's use on a Mac is via virtualisation/emulation of the Windows and Intel environment. So, making a ARM based SDK does not make sense.
EDIT: To use Python with MetaTrader 5 on a Mac, you have to use the Windows version of Python, also running on "parallels" .
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Thank you , for moving to correct section .
I'm not having a much experience with this forum .
I tried "
pip3 install MetaTrader5
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
ERROR: No matching distribution found for MetaTrader5
I have checked it here https://pypi.org/project/MetaTrader5/#files only windows x86-64 version :-(
As far as I have seen from other user's posts, I don't think it will work with "Rosetta" or "CrossOver", only with "Wine" or "Parallels".
Also, you will have to use Python v3.13 (for Windows) at most and no higher.

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