Mak71on:
Could a MetaQuotes technical specialist
Could a MetaQuotes technical specialist
I am not MetaQuotes technical specialist but there are some questions which were asked many times on this forum (and it was answered many times as well) so I hope it may help with your research, for example:
Forum on trading, automated trading systems and testing trading strategies
MT5 Python API Timestamp Discrepancy on MetaQuotes-Demo — Build 6259
Sergey Golubev, 2026.10.14 09:02
It was already discussed many times, for example:Can MQL5 uniquely determine the UTC open time of historical CopyRates bars?
Forum on trading, automated trading systems and testing trading strategies
MetaTrader 5 build 6231: clock basis of historical Symbols → Ticks timestamps and exported CSV
Alain Verleyen, 2026.10.08 16:00
ALL data MT5 returns are ALWAYS broker server time data.You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
I am developing a Python-based trading system using MetaTrader 5 build 6292 and the official Python integration package 5.0.6231, connected to MetaQuotes-Demo.
Two independently installed MT5 terminals return matching historical OHLC data, but I need clarification on two issues:
The exact UTC meaning of the time field returned by Python's copy_rates_* functions, its relationship to server chart time, and how to verify that an H1 candle has fully closed and become available.
Historical D1/H4 candles are absent around December 25 and January 1 for some Forex symbols. How can I verify whether these are official server trading-session closures rather than missing history?
I also observed unexpected out-of-range historical responses during a far-future diagnostic request.
Could a MetaQuotes technical specialist clarify the documented timestamp behavior and recommend a reliable way to verify closed candles and historical trading-session gaps?
I can provide sanitized UTC timestamps, request parameters and reproducible diagnostics.
Thank you.