hyperliquid-dex/hyperliquid-python-sdk

Can remove this cloid condition

Opened this issue · 1 comments

I think this if condition can be removed (compare in order_request_to_order_wire): https://github.com/hyperliquid-dex/hyperliquid-python-sdk/blob/master/hyperliquid/exchange.py#L100

      if cloid:
            order["cloid"] = cloid

Yes, it does appear that code could be simplified. Is it causing any issues for you though?