0
Follow
1
Followers
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.
- 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
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (1)
火币的基地址默认就是https://api.hbdm.com,一般不用切换,提示签名失败,首先确定key没有问题,刚才我测试了一下,没问题。对于公开接口,用HttpQuery就行,IO针对加密接口。
6 years ago
- 1
