How long did the basketball backtest see a different price?

At 14:00:04 in a fictional basketball game, the analyst had decimal odds of 1.90 on the home team. A later archive search turns up 2.10 with a timestamp of 14:00:03. That update reached the analyst at 14:00:06. A backtest that uses it two seconds earlier gives the analyst a price they had yet to see.

From second 0 up to second 12, the two histories disagreed for 7 seconds of the 12-second window. A disagreement means the quoted prices differed or the two clocks gave different availability states.

Follow the home moneyline

Times below are seconds after 14:00:00 UTC. Each row starts when its first second begins and ends just before the next boundary. A newly arrived message can leave the displayed price unchanged if a newer source update is already known.

Home-team quote history in the selected window
Seconds Analyst received Source clock Duration (s)
0–1 Unseen Unseen 1
1–2 Unseen 1.90 1
2–3 1.90 1.85 1
3–6 1.90 2.10 3
6–7 2.10 2.10 1
7–8 2.10 2.10 1
8–9 2.10 Withdrawn 1
9–10 Withdrawn Withdrawn 1
10–11 Withdrawn 1.97 1
11–12 1.97 1.97 1

Look at seconds 8–9 in the full log. The source withdrew the quote at second 8. For one more second, the analyst’s last received update still showed 2.10. The log records what the analyst could see. It cannot tell us whether a sportsbook would have accepted a bet.

Reproduce the report

Download the ten intervals as CSV to inspect both prices and their UTC boundaries in a spreadsheet.

Download the R Markdown project and the full twelve-second CSV. Extract the ZIP and open a terminal in that directory. Run Rscript replay.R with base R to see both clocks at eight selected decision times. Three of those eight decisions differ. The elapsed-time table counts how long each difference lasted.

To change the report window, run the following in R with rmarkdown, knitr and Pandoc installed. It renders a local HTML file. In the window from second 8 up to second 9, the two histories disagree for the entire second.

rmarkdown::render("clock-report.Rmd", params = list(start_second = 8, end_second = 9))

Inspect a public NBA odds sample. To repeat the exercise with your own observations, save the reported market time and record the UTC time your client received each response. A single snapshot cannot reconstruct earlier receipts.