Skip to content

Add HIP-4 outcome market volume example#295

Open
bleespop wants to merge 1 commit intohyperliquid-dex:masterfrom
bleespop:master
Open

Add HIP-4 outcome market volume example#295
bleespop wants to merge 1 commit intohyperliquid-dex:masterfrom
bleespop:master

Conversation

@bleespop
Copy link
Copy Markdown

@bleespop bleespop commented May 5, 2026

The example shows how to:

  • fetch active outcome markets using outcomeMeta
  • derive HIP-4 side coins using #<10 * outcome_id + side_index>
  • fetch candleSnapshot data
  • calculate side-level and market-level volume
  • export the result to a readable CSV

The example shows how to:
- fetch active outcome markets using outcomeMeta
- derive HIP-4 side coins using #<10 * outcome_id + side_index>
- fetch candleSnapshot data
- calculate side-level and market-level volume
- export the result to a readable CSV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant