Broker API HubMenu

MetaTrader 5 for Python: which platforms does it run on?

The commonest question about the MetaTrader 5 Python package is which operating systems it runs on. The vendor’s own page does not answer it.

Independent and unofficialLast reviewed

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Carried over from an earlier version of this site. The links below are the sources it was written from, but its statements have not been re-read at source since the date shown, so check anything you rely on.

What the vendor page does say

Read 20 Sep 2026: www.mql5.com/en/docs/python_metatrader5

What it does not answer

The same site ships macOS and Linux builds of MetaTrader 5. The Python page neither says the package needs Windows nor says it runs anywhere else. Pointing at the Windows downloads page while stating no limitations is not an answer to the question, and it is the question most people arrive with.

We have not run the package on macOS or Linux and we have no vendor statement either way, so this page does not tell you whether it works. It tells you that the vendor page does not tell you, which is a fact about the documentation and is checkable at the address above.

What to do

Where to go next

Sections