hyperliquid-dex/hyperliquid-python-sdk

grouped order

Closed this issue · 1 comments

How to create grouped Market/Limit order with TP/SL? like OCO order in UI. do we have to create separate orders? Provide example if possible, or documentation, as couldn't find anywhere in docs.

The python sdk's api doesn't support this. You would need to create an order action with grouping set to normalTpsl or positionTpsl