Type/to search
0
Follow
0
Followers
OKex调用交易类api使用HMAC('SHA256', 'base64', signStr, SecretKey)签名一直错误
Help
Created 2021-10-15 10:35:17  
 4
 1612

使用GET请求签名不会出现问题。
使用POST请求,签名就一直报错{"msg":"Invalid Sign","code":"50113"}
签名字符串:2021-10-14T12:44:45.961ZPOST/api/v5/trade/order-algo{'instId':'EOS-USDT-SWAP','tdMode':'cross','side':'buy','ordType':'conditional','sz':'1','slTriggerPx':'4.8','slOrdPx':'4.8'}
实在搞不懂哪里有问题。。。

Related Recommendations
Comment
All comments (4)

    怎么解决的,我也碰到了

    5 years ago

    一般用IO就行了,应该是签名哪里有问题

    5 years ago

    已解决。

    5 years ago

    How did you solve the problem?

    5 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)