MQL5 Python - Good Till Date Format
Hello,
Are you sure your broker would support that particular method? Been having same challenge but for volume filling policy
ENUM_ORDER_TYPE_FILLING
Hi,
I am using " ORDER_FILLING_IOC".. Thats working fine.
Hi Guys,
First post here! I am writing an EA using the MT5 Python library. I am writing it directly in my python editor (PyCharm).
https://www.mql5.com/en/docs/integration/python_metatrader5
So far, I was able to connect to MT5 and able to send orders as long as they are "ORDER_TIME_GTC". However I wanted to try out "ORDER_TIME_SPECIFIED", and I tried to supply the expiry date/time in various formats and I keep getting an error saying "Invalid expiration".
What's the correct expiration datetime format that I need in Python so that MT5 can accept the order?
Thanks in advance!