Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dex Public Trading Insights #4914

Closed
cronokirby opened this issue Nov 5, 2024 · 1 comment · Fixed by #4917
Closed

Dex Public Trading Insights #4914

cronokirby opened this issue Nov 5, 2024 · 1 comment · Fixed by #4917
Labels
A-indexing Area: Relates to event indexing. needs-refinement unclear, incomplete, or stub issue that needs work

Comments

@cronokirby
Copy link
Contributor

For the purposes of the dex explorer, we want to flesh out our indexer a bit more.

We need, over the time frames:

  • 1 minute
  • 15 minutes
  • 1 hour
  • 4 hours
  • 1 day
  • 1 week
  • 1 month

Per Directed Pair

  • swap / direct volume
  • liquidity (in terms of the target asset)
  • price (in terms of the target asset)

and then the change over the window

In Aggregate

  • total liquidity (currently)
  • total swap / direct volume (over the window)
  • number of active pairs (currently)
  • top price mover (over the window)
  • largest trading pair (over the window)
  • number of "trades" (over the window)
@cronokirby cronokirby added the A-indexing Area: Relates to event indexing. label Nov 5, 2024
@github-actions github-actions bot added the needs-refinement unclear, incomplete, or stub issue that needs work label Nov 5, 2024
@cronokirby
Copy link
Contributor Author

For the trade count, we can use position executions, since this tracks when assets actually change hands between parties, and accounts for both swaps, limit orders, and auctions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-indexing Area: Relates to event indexing. needs-refinement unclear, incomplete, or stub issue that needs work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant