Automate Trading

 

So, I want to execute trade when I receive trade info in the telegram. For reading telegram message I am using telethon and then I am parsing the string and creating trade request using mt5 Python API. Now the problem is, it always opens mt5 trading terminal when order is placed. I want to avoid it because I am planning to put all the code on the linux server.

Your help will be appreciated..


Thank you.

Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Order Properties
Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Order Properties
  • www.mql5.com
Requests to execute trade operations are formalized as orders. Each order has a variety of properties for reading. Information on them can be...
 
How do you expect the terminal to place an order with your broker, if the terminal is not running?
 
via API call.. Basically, I don't understand why we need to open terminal just to place an order.. Now a days, with API call we can place an order.
 
Rajesh B #:
via API call.. Basically, I don't understand why we need to open terminal just to place an order.. Now a days, with API call we can place an order.

does your broker even provide an API?  if so you will need to discuss with them the details...