Skip to content

Conversation

@im0xMagnus
Copy link

Add frontendOpenOrders, userFillsByTime, userRole, and portfolio endpoints to InfoClient, to try bring Rust SDK closer to Python SDK parity.

Endpoints tested against live Hyperliquid API

Add frontendOpenOrders, userFillsByTime, userRole, and portfolio endpoints
to InfoClient, to try bring Rust SDK closer to Python SDK parity.

Endpoints tested against live Hyperliquid API
Added:
- Exchange: twapOrder and twapCancel actions
- Info: userTwapSliceFills endpoint
- WebSocket: Real-time TWAP updates (userTwapSliceFills, userTwapHistory)
- Examples: 4 examples (order, cancel, monitor, websocket)
- Resolved conflict in `src/exchange/exchange_client.rs` by adding a missing `EvmUserModify` import.
- Resolved conflicts in `src/ws/ws_manager.rs` by replacing all instances of `H160` with `Address` to align with the updated dependency.
@im0xMagnus im0xMagnus closed this Aug 5, 2025
@im0xMagnus im0xMagnus deleted the feat/missing-info-endpoints branch August 5, 2025 13:12
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