Type/to search
0
Follow
1
Followers
Huobi trả về lỗi 403
Help
Created 2020-06-08 20:21:18  Updated 2020-06-08 22:50:20
 1
 1744

Khi sử dụng công cụ khởi động
1.
function main(){
exchange.IO("base", "https://api.hbdm.com/")
let info = exchange.IO("api", "POST", "/api/v1/contract_account_info", "" )
return info
}
Trở lại lỗi sau, xem tài liệu có vẻ như là xác minh danh tính thất bại, có phải là thuật toán chữ ký của FMZ bị lỗi không?
{"status":"error","err_code":403,"err_msg":"Verification failure [Không thành công.

  1. var d = exchange.IO("api", "GET", "/market/history/kline","symbol=BTC_CQ&period=60min&size=30")
    return d
    Nếu sử dụng token hoặc wexApp có thể truy cập dữ liệu k-line bình thường, nhưng nếu đổi thành bitcoin thì sẽ báo lỗi sau
    Futures_OP 4: &{map[err-code:invalid-parameter err-msg:invalid period status:error ts:1.59162767652e+12]}

Xin hãy hỏi tại sao.

Related Recommendations
Comment
All comments (1)

    火币的基地址默认就是https://api.hbdm.com,一般不用切换,提示签名失败,首先确定key没有问题,刚才我测试了一下,没问题。对于公开接口,用HttpQuery就行,IO针对加密接口。

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