Skip to content

Conversation

@benduran
Copy link
Contributor

@benduran benduran commented Dec 11, 2025

Summary

Per requested for the upcoming demo, added synthetic "streaming" of data from a canned dataset of Pyth pro data and NASDAQ exchange data for the HOOD symbol. The data was gently massaged into a consistent format, before being imported into a DuckDB database, for easy querying and lookup performance.

Added a concept of replay datasources and symbols, in case we want to do this with more options in the future, and also added a "speed up" capability to swiftly move through the historical data sets.

Rationale

Displaying real-world data from a specific date helps to showcase the update speed and accuracy of the Pyth feeds.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

In action

CleanShot.2025-12-11.at.11.35.40.mp4

… enough to be tracked by git and added an API to query it dynamically
…hat was causing no data to appear in the historical view
…000. this ensures all data sources are returned that have data for this period
@vercel vercel bot temporarily deployed to Preview – component-library December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – staking December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – insights December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub December 16, 2025 12:48 Inactive
@vercel vercel bot temporarily deployed to Preview – api-reference December 16, 2025 13:23 Inactive
@vercel vercel bot temporarily deployed to Preview – component-library December 16, 2025 13:23 Inactive
@vercel vercel bot temporarily deployed to Preview – insights December 16, 2025 13:23 Inactive
@vercel vercel bot temporarily deployed to Preview – proposals December 16, 2025 13:23 Inactive
@vercel vercel bot temporarily deployed to Preview – staking December 16, 2025 13:23 Inactive
@vercel vercel bot temporarily deployed to Preview – developer-hub December 16, 2025 13:23 Inactive
@vercel vercel bot temporarily deployed to Preview – entropy-explorer December 16, 2025 13:23 Inactive
@benduran benduran merged commit 18bb98d into main Dec 16, 2025
11 checks passed
@benduran benduran deleted the bduran/hood-historical-demo-data branch December 16, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants