hyperliquid-dex / hyperliquid-rust-sdk

MIT License
57 stars 47 forks source link

Is there an endpoint to cancel all open orders? #15

Closed Jie-Cheng closed 6 months ago

Jie-Cheng commented 6 months ago

You can cancel all open orders on the exchange GUI, but I don't see this endpoint in the documentation or the sdk.

Thank you!

traderben commented 6 months ago

There is no endpoint to do this. The frontend fetches all the open orders and cancels them one at a time

Jie-Cheng commented 6 months ago

Thanks for the clarification.