Technical question on DateTime with Python integration
Hi everyone, just started working with MQL5 Python integration and found a question that I just can't get right
When i use datetime with UTC timezone to get myself todays 00:00:00 dateime and then call i get results which seem understandable at first:
The timestamp 1701043200.0 converts to datetime UTC as I expected it to be - 2023-11-27 00:00:00+00:00
I use Python for other non MT5 projects, but out of curiosity I took a look at this - unfortunately I could not get your code to compile (I use Eclipse and PyDev)
Can you paste a complete compilable unit please?
I use Python for other non MT5 projects, but out of curiosity I took a look at this - unfortunately I could not get your code to compile (I use Eclipse and PyDev)
Can you paste a complete compilable unit please?
Added a .py with code
the main problem is that time now shows me 6:33 UTC while the data of latest obtained Symbol candle shows 8:00 UTC (at the moment ofc)
Hi everyone, just started working with MQL5 Python integration and found a question that I just can't get right
When i use datetime with UTC timezone to get myself todays 00:00:00 dateime and then call i get results which seem understandable at first:
The timestamp 1701043200.0 converts to datetime UTC as I expected it to be - 2023-11-27 00:00:00+00:00