Install Metatrader 5 in Google Colab

William Roeder  
Holguinmora: Im trying to install Metatrader 5 in google colab … or any ideas on how to install this library?

MT5 is an application not a library.

lxa  

I've tried to install Mt5 python library on Ubuntu. Error was that this library Windows-only.

I guess that's the same problem with Colab.

Can devs confirm that?

Holguinmora  
lxa #:

I've tried to install Mt5 python library on Ubuntu. Error was that this library Windows-only.

I guess that's the same problem with Colab.

Can devs confirm that?

Thanks for your help, I believe you are right I will love to hear from Mql5

Theres a lot of contradicting info in many websites or portals and will like to finally get to the source

lxa  

Though in your case it wouldn't work anyway.

Python library connects to terminal MT5, and you don't have that terminal in colab.

https://www.mql5.com/en/docs/integration/python_metatrader5/mt5initialize_py

In my case, i planned to install terminal with Wine and then connect to it with python (using mt5 python library).

After some headache with installation, i decided just to use virtual machine with windows.

Documentation on MQL5: Integration / MetaTrader for Python / initialize
Documentation on MQL5: Integration / MetaTrader for Python / initialize
  • www.mql5.com
initialize - MetaTrader for Python - Integration - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
mehranism7  
I replace "MetaTrader5" with "MetaTrader" and it worked.
Reason: