Skip to content

Add HIP-4 outcome market volume example - #295

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

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

Conversation

@bleespop

@bleespop bleespop commented May 5, 2026

Copy link
Copy Markdown

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

1 participant