nomeida / hyperliquid

Simple and easy way to access the Hyperliquid API using Javascript/Typescript
21 stars 18 forks source link

TP and SL doesn't work #3

Open DanailYordanov opened 3 months ago

DanailYordanov commented 3 months ago

The SDK doesn't provide an option to set the grouping of an order to either positionTpsl or normalTpsl. Even when the grouping is set manually, the signing is incorrect, leading to errors such as:

{
  status: 'err',
  response: 'L1 error: User or API Wallet .... does not exist.'
}
nomeida commented 3 months ago

Yes, I'm aware of this issue - not really sure why the signing fails with TP/SL orders specifically but it is something I'm working on fixing

Sotatek-ElvisPhuong commented 2 weeks ago

HI @nomeida , hope you're doing well. Do you have any update on this issue?