MT5 server time zone and October 30 historical data cutoff
Hello,
Please confirm the historical timestamp and trading-session rules for EURUSD and USDJPY on MetaQuotes-Demo from September 1 through November 4, 2026.
Our Python export uses MetaTrader5 package 5.0.6231 and terminal build 6296.
For both pairs, we found one-tick, flat M15 and H1 bars at raw timestamp 1793401200, corresponding numerically to October 30 at 23:00 before any timezone correction. M15 bars at 23:15, 23:30 and 23:45 are absent. The next returned label is November 2 at 00:00.
Could MetaQuotes staff please confirm:
1. The timestamp-to-UTC mapping and exact 2026 daylight-saving transition dates and times.
2. The time basis required for Python history queries.
3. Whether this October 30 boundary was a scheduled session close or incomplete history.
4. How to recover the missing history if it is incomplete.
Current quote timestamps appeared approximately two hours ahead of checked UTC. We have not assumed that offset applies historically.
Thank you.
- Subject: Clarification needed: MT5 Python timestamps appear 3 hours ahead of UTC on FundedNext
- MetaQuotes-Demo: matching M1/H1 gaps at 23:00 and 00:00 on XAUAUD/XPTUSD, 15 17 Sep 2026
- MetaQuotes-Demo raw EURUSD tick/bar timestamp convention
MetaQuotes-Demo account should not be used for trading and testing; more: post #1
MetaQuotes-Demo Python API timestamps approximately 2 hours ahead of UTC
- 2026.10.30
- www.mql5.com
Hello, I am using MetaTrader 5 with a MetaQuotes-Demo account and the official MetaTrader5 Python library...
Brandon Powe:
Hello,
Have you compared that missing interval against another broker's tick data? That might help separate an actual session boundary from a MetaQuotes-Demo history issue.
Hello,
Please confirm the historical timestamp and trading-session rules for EURUSD and USDJPY on MetaQuotes-Demo from September 1 through November 4, 2026.
Our Python export uses MetaTrader5 package 5.0.6231 and terminal build 6296.
For both pairs, we found one-tick, flat M15 and H1 bars at raw timestamp 1793401200, corresponding numerically to October 30 at 23:00 before any timezone correction. M15 bars at 23:15, 23:30 and 23:45 are absent. The next returned label is November 2 at 00:00.
Could MetaQuotes staff please confirm:
1. The timestamp-to-UTC mapping and exact 2026 daylight-saving transition dates and times.
2. The time basis required for Python history queries.
3. Whether this October 30 boundary was a scheduled session close or incomplete history.
4. How to recover the missing history if it is incomplete.
Current quote timestamps appeared approximately two hours ahead of checked UTC. We have not assumed that offset applies historically.
Thank you.
That gap is the weekend, not missing history. October 30 was a Friday and November 2 was a Monday, so your 23:00 bar is the last one before the market shut for the weekend and the next bar at 00:00 is Monday's open. The 23:15, 23:30 and 23:45 M15 bars never existed, so there is nothing to recover.
On the timestamps, everything MT5 hands you is server time, not UTC. MetaQuotes-Demo runs on EET, UTC+3 in summer and UTC+2 after Europe's clocks go back, which in 2026 was October 25. That is why your times sit about two hours ahead of UTC at the end of October. The US only went back on November 1, so that week in between is the usual messy one where New York times shift an hour against server time. I just work in server time all the way through my Python export and convert at the end. You can check the offset in the terminal any time with TimeCurrent() minus TimeGMT(), just don't hardcode it because it changes with DST. And like Laurent said, comparing the same weekend on another broker would show the same gap.