-
Notifications
You must be signed in to change notification settings - Fork 435
feat(info): add 9 missing Info API methods #203
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
Merged
traderben
merged 9 commits into
hyperliquid-dex:master
from
smypmsa:feat/add-missing-info-methods
Aug 31, 2025
Merged
feat(info): add 9 missing Info API methods #203
traderben
merged 9 commits into
hyperliquid-dex:master
from
smypmsa:feat/add-missing-info-methods
Aug 31, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added comprehensive support for additional Hyperliquid Info API endpoints: - historical_orders: Retrieve user's historical orders with status - user_non_funding_ledger_updates: Get ledger updates excluding funding - portfolio: Comprehensive portfolio performance across time periods - batch_clearinghouse_states: Batch retrieval of multiple user states - user_twap_slice_fills: TWAP order slice fills - user_vault_equities: Vault investment positions - user_role: User role and account type information - user_rate_limit: API rate limit configuration and usage - delegator_history: Comprehensive staking history Also added comprehensive tests for all new methods and updated .gitignore to exclude VCR cassettes folder from version control. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Added testing/ folder to .gitignore for local manual testing scripts that should not be committed to the repository.
|
Please have a look @traderben |
traderben
reviewed
Aug 25, 2025
36f2c72 to
cf3854e
Compare
traderben
reviewed
Aug 29, 2025
traderben
reviewed
Aug 29, 2025
traderben
reviewed
Aug 29, 2025
tests/cassettes/info_test/test_user_non_funding_ledger_updates_without_end_time.yaml
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes Made
New Info API Methods Added
historical_orders(user)- Retrieve user's historical orders (up to 2000 most recent)user_non_funding_ledger_updates(user, startTime, endTime)- Get non-funding ledger updatesportfolio(user)- Retrieve comprehensive portfolio performance databatch_clearinghouse_states(users, dex)- Get perpetuals account summaries for multiple usersuser_twap_slice_fills(user)- Retrieve user's TWAP slice fillsuser_vault_equities(user)- Get user's equity positions across all vaultsuser_role(user)- Retrieve role and account type informationuser_rate_limit(user)- Get API rate limit configuration and usagedelegator_history(user)- Retrieve comprehensive staking historyConfiguration Updates