Skip to content

feat: add dex parameter to user_fills and user_fills_by_time for HIP-3#288

Open
claygeo wants to merge 1 commit intohyperliquid-dex:masterfrom
claygeo:fix/add-dex-param-user-fills
Open

feat: add dex parameter to user_fills and user_fills_by_time for HIP-3#288
claygeo wants to merge 1 commit intohyperliquid-dex:masterfrom
claygeo:fix/add-dex-param-user-fills

Conversation

@claygeo
Copy link
Copy Markdown

@claygeo claygeo commented Apr 13, 2026

Summary

Fixes #287, fixes #286

Adds the dex parameter to user_fills and user_fills_by_time in Info, matching the pattern already established by user_state, open_orders, frontend_open_orders, all_mids, and meta. This enables HIP-3 builder-deployed perpetual market operators to filter fill history by DEX.

Also adds missing dex parameter documentation to the docstrings of the 5 methods that already support it (user_state, open_orders, frontend_open_orders, all_mids, meta).

Changes

  • hyperliquid/info.py: Add dex: str = "" parameter to user_fills and user_fills_by_time, pass it through in the POST payload
  • hyperliquid/info.py: Add dex to Args docstrings for all 7 methods that accept it

Backwards Compatibility

The dex parameter defaults to "" (the original dex), so existing callers are unaffected.

…3 support

Also adds missing dex parameter documentation to user_state, open_orders,
frontend_open_orders, all_mids, and meta docstrings.

Fixes hyperliquid-dex#287, fixes hyperliquid-dex#286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant