Hi, i found with the current/latest version v7 of the api for hyperliquid.
It seems that the futures fees are being totaled by absolute value, and not accounting for fee rebates. So fees and fee rebates are being totaled together as if they were all debits.
This might be similar to the funding fees previously solved.
Would be happy to tackle this issue for you as an intern for class credit :D
  • Thanks for keeping me tax compliant

Photo Viewer

View photos in a modal