The resource loading... loading...

OKex calls the transaction class api using HMAC (('SHA256', 'base64', signStr, SecretKey) the signature has been incorrect

Author: yesnbst, Created: 2021-10-15 10:35:17, Updated:

There is no problem signing a request using GET. Signatures are always returned with a POST request {msg:Invalid Sign,code:50113} Signature string: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} I don't understand where the problem is.


More

husthaixiaoHow to solve this problem, I also encountered.

The grassIt's usually done with IO, it should be a problem where the signature is.

kosma How did you solve the problem?

yesnbstThe problem is solved.