FREE FINANCIAL EDUCATION
TPO session calendars and overnight assignment
Assign blocks to a trading session that can span calendar dates.
What you will learn
Prerequisites: Timezone-aware timestamps and exchange sessions.
- Assign blocks to a trading session that can span calendar dates.
- Avoid duplicate letters after a midnight reset.
- Compare regular and overnight profiles under explicit inclusion rules.
Mechanism and decision rules
A trading session need not coincide with a calendar date. An overnight session may begin on one date and end on the next, while a regular-session profile excludes those hours. Assign a session identifier using the intended exchange calendar, then label blocks within that session. Resetting letters at UTC midnight can split one economic session or merge parts of two others incorrectly.
Store timezone, session start, breaks and block length. Daylight-saving changes where applicable can alter the relationship between exchange-local time and UTC. A shortened session may contain fewer blocks, so raw count comparisons need context. The correct grouping depends on the analytical question, not on a spreadsheet’s default date field.
Worked example · synthetic data
A synthetic exchange session runs 20:00 to 02:00 local time. A trade at 23:50 and another at 00:10 belong to the same session even though their calendar dates differ. With thirty-minute blocks from 20:00, they belong to different consecutive block intervals within one session ID.
If software resets the profile at midnight, the overnight auction is split into two objects. Their separate POCs and value areas need not equal the intended combined-session results. This is a construction change, not necessarily a market change.
Failure modes and limits
Holiday schedules, breaks and daylight-saving transitions require an explicit calendar. Vendor timestamps may already be converted or session-labeled. Reusing a letter without a session key can collide across days. Do not compare a four-hour partial profile with a six-hour full profile as if equal counts represent equal coverage.
Practice case
A session runs 18:00–01:00. Which session should 00:30 belong to under this rule: the session that began the previous calendar evening, or a new session beginning at midnight? Explain the required identifier.
Reveal the worked answer
It belongs to the session that began at 18:00 on the previous calendar date. The session identifier should encode that trading-session assignment separately from the raw calendar date. Midnight alone is not the declared reset boundary.
Check your understanding
Sources and next steps
The lesson, calculations and synthetic cases are original educational material. References explain underlying contract or chart conventions; none validates the profitability of a trading rule. Actual contract specifications, settlement obligations and charges must be checked before trading.
Explore OHLCV data in the chart lab · Explore volume-at-price and TPO data · Practice library
