hyperliquid-dex / hyperliquid-python-sdk

SDK for Hyperliquid API trading with Python.
MIT License
238 stars 97 forks source link

Update the slippage function to work correctly with spot precision #38

Closed rtunazzz closed 4 months ago

rtunazzz commented 4 months ago

As stated in the docs, the price can have up to 8 decimals for spot.