秋田预测市场 · Discord 审计

用户通过xyz交易股票永续合约时API资产ID混淆问题

2026-06-01 · Hyperliquid · 5 条相关讨论

JyzzBrah 2026-06-01 16:21:45

Does anyone have experience ordering those stock perps deployed by xyz on hyperliquid? I cannot get any api orders to work, even though for BTC it works fine. "error": "Order price cannot be more than 95% away from the reference price" even though I can clearly see the mark/oracle prices are not 95% away from where im trying to order

Does anyone have experience ordering those stock perps deployed by xyz on hyperliquid? I cannot get any api orders to work, even though for BTC it works fine. "error": "Order price cannot be more than 95% away from the reference price" even though I can clearly see the mark/oracle prices are not 95% away from where im trying to order

JyzzBrah 2026-06-01 18:07:36

Ok so I realised what was happening when I checked the chain, but I don't know how to fix it. I tried ordering under the asset ID 2 which is supposed to be NVDA on xyz, but it used the asset ID 2 for global tickers which is ATOM, that's why I got the 95% away from ref price error. Unfortunately, when I attempt to specify the xyz dex I get hit with the "Network call failed: (422, None, 'Failed to deserialize the JSON body into the target type', None, ...". Does anyone know the correct syntax for this? I've legitimately been trying with ai for like the last 5 hours but I cannot get the correct syntax

Ok so I realised what was happening when I checked the chain, but I don't know how to fix it. I tried ordering under the asset ID 2 which is supposed to be NVDA on xyz, but it used the asset ID 2 for global tickers which is ATOM, that's why I got the 95% away from ref price error. Unfortunately, when I attempt to specify the xyz dex I get hit with the "Network call failed: (422, None, 'Failed to deserialize the JSON body into the target type', None, ...". Does anyone know the correct syntax for this? I've legitimately been trying with ai for like the last 5 hours but I cannot get the correct syntax

Light 2026-06-01 18:11:02

xyz:NVDA is 110002; https://discord.com/channels/1029781241702129716/1087879542049357935/1433027397157916683 https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/asset-ids

xyz:NVDA is 110002; https://discord.com/channels/1029781241702129716/1087879542049357935/1433027397157916683 https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/asset-ids

JyzzBrah 2026-06-01 18:17:04

ur an absolute legend

ur an absolute legend

JyzzBrah 2026-06-01 18:19:53

man you just saved me so much time, gemini was actually driving me crazy, thank you

man you just saved me so much time, gemini was actually driving me crazy, thank you