Run Python Code on VPS

 
Has anyone successfully installed and executed Python on a VPS?
 
Hello , what is the hosting company? what is the server os linux or windows?
 
Amr Abdelhay Yousef Kamel #:
Hello , what is the hosting company? what is the server os linux or windows?

MetaTrader VPS

 
John Banks #:

MetaTrader VPS

i dont think it is allowed!! you migrate your account and it sycn 
 
Amr Abdelhay Yousef Kamel #:
i dont think it is allowed!! you migrate your account and it sycn 

Maybe it's included in WebRequest permissions?

  • "The following elements are moved during migration:
    • "trade account connection data;
    • available Market Watch symbols and the depth of market;
    • active charts with launched Expert Advisors (and indicators if any), but not more than 32 charts for a fee-based hosting and not more than 16 charts for a free one;
    • active chart settings;
    • settings of Expert Advisors and indicators launched on charts;
    • executable files of the programs launched on charts, as well as EX4/EX5 libraries used by these programs;
    • MQL5.com account data from Community tab necessary to copy trades according to a Signal in case there is an active subscription to a Signal;
    • FTP, Email, Signals and Notifications tab settings;
    • the value of the maximum number of bars on the chart set in "Max bars" parameter of Charts tab but not more than 500 000 bars;
    • permission to use WebRequest and the list of allowed URLs."
  • "Interception, imitation or redirection of the communication protocols used as a part of mql5.com website services regardless of the method of performing the above actions."
  • "Using Virtual Hosting service with the help of a third-party modified interface not provided by MetaQuotes Ltd on www.mql5.com website nor by MetaQuotes in its software."
Rules of Using the Virtual Hosting Service
Rules of Using the Virtual Hosting Service
  • www.mql5.com
The page contains the rules of using the Virtual Hosting service (Virtual Hosting Cloud): general provisions, virtual hosting rental conditions, payment terms, as well as violations entailing termination of service.
 
Ryan L Johnson #:

Maybe it's included in WebRequest permissions?

  • "The following elements are moved during migration:
    • "trade account connection data;
    • available Market Watch symbols and the depth of market;
    • active charts with launched Expert Advisors (and indicators if any), but not more than 32 charts for a fee-based hosting and not more than 16 charts for a free one;
    • active chart settings;
    • settings of Expert Advisors and indicators launched on charts;
    • executable files of the programs launched on charts, as well as EX4/EX5 libraries used by these programs;
    • MQL5.com account data from Community tab necessary to copy trades according to a Signal in case there is an active subscription to a Signal;
    • FTP, Email, Signals and Notifications tab settings;
    • the value of the maximum number of bars on the chart set in "Max bars" parameter of Charts tab but not more than 500 000 bars;
    • permission to use WebRequest and the list of allowed URLs."
  • "Interception, imitation or redirection of the communication protocols used as a part of mql5.com website services regardless of the method of performing the above actions."
  • "Using Virtual Hosting service with the help of a third-party modified interface not provided by MetaQuotes Ltd on www.mql5.com website nor by MetaQuotes in its software."

thanks mate :)

 
Amr Abdelhay Yousef Kamel #:

thanks mate :)

You're welcome. Just know that I don't use a VPS and I only dabble with Python. I do, however, use my law degree to help others research and interpret terms and conditions... and a Python API just seems like another WebRequest to me.
 
Ryan L Johnson #:
You're welcome. Just know that I don't use a VPS and I only dabble with Python. I do, however, use my law degree to help others research and interpret terms and conditions... and a Python API just seems like another WebRequest.
oh!! so you aren't a programmer :D then you cannot run python on mql5 vps anyway ha-ha

but wait a minute!! who dont use vps? 
how you manage your EAs?
 
Amr Abdelhay Yousef Kamel #:
[O]h!! so you aren't a programmer...

That depends on the definition of the word, programmer. I've coded MQL4 and then MQL5 for several decades but I don't hold myself out as full stack developer. There was a big time gap between writing syntax on an Apple IIe as a kid and writing MQL4 code as an adult. Yes, I'm that old.😂  FYI, there are plenty of resources on mql5.com and elsewhere regarding integration of Python with MT5. With some reading, almost anyone can do it.

Amr Abdelhay Yousef Kamel #:
[B]ut wait a minute!! who dont use vps? 

Me don't use VPS.

Amr Abdelhay Yousef Kamel #:
[H]ow you manage your EAs?

I have a gaming tower pc that is dedicated to trading─more specifically, EA trading in Desktop MT5. I'm set up next to my local ISP hub with a 1000 Mbps Ethernet connection. I use my Disconnect Alerts indicator and an internet service alarm with Mobile MT5 as a remote backup in case of an emergency. I follow the KISS principle and Murphy's Law, so I have little to no problems. I also have 2 laptops for other stuff.