FREE FINANCIAL EDUCATION
Session boundaries and timezone alignment
Assign executions to sessions using an explicit timezone-aware calendar.
What you will learn
Prerequisites: Trade timestamps, exchange sessions and volume aggregation.
- Assign executions to sessions using an explicit timezone-aware calendar.
- Calculate how a boundary change alters profile totals and VPOC.
- Distinguish regular-session and extended-session analytical questions.
Mechanism and decision rules
A session profile is defined as much by its time boundary as by its price bins. Regular-session, overnight and combined profiles include different trade sets. Store timestamps in a consistent representation and apply the intended exchange-local calendar deliberately. A date change in UTC may occur at a different point from the exchange’s trading-session boundary.
Specify inclusion at endpoints, such as start inclusive and end exclusive, so a boundary trade is not counted twice or omitted. Daylight-saving transitions, shortened sessions and exchange breaks need calendar-aware handling where relevant. Comparing two profiles with different session filters can create an apparent shift in value that is really a change in which trades were included.
Worked example · synthetic data
A synthetic regular session has 100 units at 100 and 150 at 101, so VPOC is 101. The preceding extended interval adds 200 units at 99. A combined profile has 99:200,100:100,101:150 and VPOC 99. Neither result is wrong; they answer different interval questions.
A trade timestamped exactly 09:15 belongs to the new interval under a start-inclusive/end-exclusive convention. If both adjacent profiles include it, aggregate volume is overstated. If neither includes it, volume is lost. Boundary conventions should be tested on exact timestamps, not only ordinary interior records.
Failure modes and limits
Vendor timestamps may represent receipt rather than exchange event time. Local clock conversion without timezone metadata can misassign sessions. Some markets’ overnight sessions span calendar dates. A combined profile can dilute a regular-session interpretation, while excluding overnight activity can omit relevant price discovery; choose according to the question.
Practice case
Interval A is[09:00,09:30) and B is[09:30,10:00). Trades occur at 09:29:59 for 10 units,09:30:00 for 20 and 09:30:01 for 30. Allocate quantities and reconcile the total.
Reveal the worked answer
A receives 10. B receives 20+30=50. Total remains 60, with every trade included once. The bracket convention includes the start and excludes the end, so the exact 09:30 trade belongs only to B.
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
