Loading ...

okex exchange.io 提示401: {"error_message":"Invalid Sign","code":30013,

Author: gzf445, Created: 2020-03-05 21:06:15, Updated:

后面的exchanges[0].GetAccount() 可以获取到账户信息,api配置没错,但是exchanges[0].IO 提示签名不对,请教一下这个在哪里设置? function main(){ while (true) { var symbol=‘BTC-USDT’ var messege = “instrument_id=”+symbol

   var ret =exchanges[0].IO("api", "GET", "/api/spot/v3/orders/", messege)
   
   // var account=exchanges[0].GetAccount()
   // Log(account.Balance)
   Sleep(3000);
   


}

}


More

gzf445 解决了,message直接删掉