Skip to main content
Track Session analysis
17 / 18
Library

2015issue C1032-35

Session clock bars from public quote feeds

Exchange-grade market data is typically paid, but simpler needs can be met from public quote pages if the download is reshaped into a program-ready table. The construction path covers dated daily history, delayed historical intraday bars, and a continuously updating quote page.

  • Public downloads remain usable only when the provider's terms and conditions are followed and the feed is reshaped into an implementation-ready table.
  • An end-of-day-series is specified by symbol, start date, end date, and a character-separated output that a spreadsheet opens by default.
  • A delayed-intraday-bar stores a leading-timestamp that is not a readable session clock until offset-reconstruction rebuilds later times.
  • A live quote page is not session-usable until session-clock-sync extracts fields onto a chosen interval controlled in code.
Entries in this reading1 entry

From public quote pages to a program-ready table

Exchange-grade market data is typically paid, but simpler needs can be met from public quote pages if the download is reshaped into a program-ready table.

The construction path covers three ingest modes: dated daily history, delayed historical intraday bars, and a continuously updating quote page.

An end-of-day-series from dated daily history

A daily-history request is specified by symbol, start date, end date, and a character-separated output that a spreadsheet opens by default.

That request produces an end-of-day-series: a daily open-high-low-close-volume table requested by symbol and calendar bounds, usually delivered as character-separated rows.

Delayed-intraday-bar rows and clock repair

A delayed-intraday-bar is a short-interval open-high-low-close-volume row whose clock is offset by a stated quote delay, commonly specified in seconds.

A delayed intraday request can set bar width to 1,800 seconds, limit the window to one day, and request date, close, high, low, open, and volume. The documented maximum history is about 15 days.

Raw delayed rows put a timestamp in the first column that is not a readable session clock until it is converted. That first field is a leading-timestamp: an epoch-style mark that must be expanded into calendar date and clock time before session work.

Offset-reconstruction treats the first stamp as an absolute epoch and rebuilds later clocks by adding the delay interval times the bar index.

Live pages and session-clock-sync

A live quote page updates continuously but is not session-usable until a program extracts fields onto a chosen interval controlled in code.

Session-clock-sync waits until a chosen second of the local minute, then samples until the session hour cutoff in the exchange time zone. The live sampler sets the zone to America/New_York, waits for second zero, then polls while the local hour is at or before 16, sleeping the requested minutes converted to seconds.

The live parser returns date, hour, minute, second, and last price via pattern matching. Volume is omitted unless the filter is extended.

The aim of each path is an implementation-ready-table: quote fields rearranged so a program can read date, time, price, and, when parsed, volume without further descrambling.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
17 of 18 in the Session analysis track
201617-20 pp.Next on Session analysisSession-gated moving-average entry constructionA closer mathematical fit to price is not the same construction goal as writing executable entry and exit rules.
All readings on this track · 18 readings
  1. 1990Constructing a second-hour session residual exponential index
  2. 2000Treat an open limit book as an execution filter
  3. 2002Constructing a long, short, or flat pre-trade checklist
  4. 2003Session-window trims for mechanical day-system evaluation
  5. 2004Overnight session entry rules after regular hours
  6. 2005Overnight and regular session execution in Nasdaq 100 names
  7. 2006The intraday workspace as a combined decision procedure
  8. 2006Same-session trading needs presence and next-signal rules
  9. 2007Session filters for moving-average entry rules
  10. 2008Related-market checklist, session filter, and ATR-scaled stop
  11. 2008After-hours session regimes and the next-day close
  12. 2008Evaluating a next-open entry after one-day corrections
  13. 2010Session range share: currency futures versus the mini index
  14. 2011Dollar travel, afternoon sessions, and a 1:2 first-loss bound in equity-index futures
  15. 2012Last-hour volume breaks with a first-hour exit
  16. 2013Same-session and multi-session trades as one rule-based procedure
  17. 2015Session clock bars from public quote feeds
  18. 2016Session-gated moving-average entry construction
All 42 readings tagged Session analysis
Also on Session analysis5 readings