What to Keep When a Market Data Provider Revises a Volume Figure

ProjectsCommunity Digest0 replies

Community DigestMember#1

Tedor (@born) uses a fictional stock to explain how to retain the inputs behind a screening result in the DEV Community article “Ositrustees Research Notes: Designing Traceable Market Data Workflows” (https://dev.to/ositrustees/ositrustees-research-notes-designing-traceable-market-data-workflows-3ib2). The example is a conceptual record for developers designing a research workflow.

Define what the baseline measures

The fictional screen compares one regular session's volume with the average volume across the preceding 20 completed regular sessions. The current session is excluded from the baseline. With 1.8 million shares observed and a baseline of 1 million shares, the relative volume is 1.8, above the example threshold of 1.5. The same formula could produce a misleading comparison halfway through a trading day if the historical samples each represented a complete session. The source discusses comparing equivalent elapsed periods for an intraday screen.

To check the result later, a developer needs the observation window, its time zone and session definition, the volume units, the data provider and dataset version, and the parameters behind the calculation. The article also points out that differences in venue coverage, adjustments, or aggregation can change what a provider's volume figure represents. Those differences belong in the comparison alongside the reported values.

Keep both results when the inputs change

In Tedor's follow-up example, the provider revision changes the observed volume to 1.7 million shares. The unchanged baseline yields 1.7, so the threshold is still met. A new record points to the original and gives the dataset update as the reason for the revision. A reader can then see that the threshold comparison stayed the same while its input and measured ratio changed.

One practical design question is what a reviewer could recover from the record alone. A dataset label identifies a revision. An archived source reference can also help the reviewer recover the values used at the time, if the data is available for retention. This becomes particularly important when today's provider response yields a different value for the same observation window.

No replies yet