Delacrua / Publications
Forum
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 import MetaTrader5 as mt5 time_now = datetime.now(pytz.timezone( "UTC" )) today_start = time_now.replace(hour= 0 , minute= 0 , second= 0 , microsecond= 0 ) print(f "START TIME -