Skip to content

Conversation

itay747
Copy link
Contributor

@itay747 itay747 commented Feb 6, 2025

This PR unifies order-related return types by consolidating PlaceOrderResponse and CancelOrderResponse into a single OrderResponse structure. This gives consistent handling of order and cancel calls, and no unmarshalling errors with hyperliquid error responses.

As a result all CancelOrderResponse and related structs are deleted.

This fixes unmarshalling errors that arise with `BulkCancelOrders`.
@0xBoringWozniak 0xBoringWozniak merged commit 0e4c1ff into Logarithm-Labs:main Feb 11, 2025
@0xBoringWozniak 0xBoringWozniak added enhancement New feature or request bug Something isn't working labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants