Skip to content

feature(Raw): Allow Hyperliquid mark, index, funding and open interest - #23

Merged
szemyd merged 1 commit into
mainfrom
claude/sleepy-galileo-6d089y
Oct 2, 2026
Merged

szemyd merged 1 commit into
mainfrom
claude/sleepy-galileo-6d089y

Conversation

@szemyd

@szemyd szemyd commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Why

The API now serves all six raw datasets on Hyperliquid (dream-faster/unravel-router#889). The CLI still rejected mark_price, index_price, funding_rate and open_interest on hyperliquid-perps before calling the API, so CLI users couldn't download them.

What

  • raw.go: ValidateRawQuery now only rejects unknown datasets and exchanges. RawExchanges returns every exchange for every dataset, so raw coverage and the dataset listing show Hyperliquid too.
  • README: the raw table shows Hyperliquid for all six datasets. The note explains that Hyperliquid's derivative feed carries no exchange time, so those files have a modelled exchange_timestamp and an exchange_timestamp_kind column.

Tests

  • Validation: TestValidateRawQuery now checks that every dataset is valid on every exchange. It fails before this change.
  • Removed cases: the two that expected Hyperliquid derivatives to be rejected, one in the raw argument table and one in the coverage filter test.
  • Offline tests: go vet and gofmt are clean, and every offline test passes.
  • Live tests: 10 live tests fail in my sandbox because they need APERIODIC_API_KEY or network access to aperiodic.io. main fails exactly the same 10 there.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B3cgCKqQgMrU3LMx3wMxNh


Generated by Claude Code

The API now serves all six raw datasets on Hyperliquid
(dream-faster/unravel-router#889). Hyperliquid's feed carries no exchange
time, so its four derivative datasets have a modelled exchange_timestamp and
an exchange_timestamp_kind column. ValidateRawQuery no longer rejects them
before calling the API, RawExchanges lists every exchange for every dataset,
and the README table and note say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B3cgCKqQgMrU3LMx3wMxNh
@szemyd
szemyd merged commit c3c382a into main Oct 2, 2026
9 checks passed
@szemyd
szemyd deleted the claude/sleepy-galileo-6d089y branch October 2, 2026 11:55
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.

2 participants