0
Follow
1
Followers
डिबगिंग टूल का उपयोग करते समय
1.
function main(){
exchange.IO("base", "https://api.hbdm.com/")
let info = exchange.IO("api", "POST", "/api/v1/contract_account_info", "" )
return info
}
निम्नलिखित त्रुटि को वापस करें, और देखें कि दस्तावेज़ एक पहचान सत्यापन विफलता की तरह दिखता है, क्या यह fmz के हस्ताक्षर एल्गोरिदम के साथ एक समस्या है?
{"status":"error","err_code":403,"err_msg":"Verification failure [[असफल]
- var d = exchange.IO("api", "GET", "/market/history/kline","symbol=BTC_CQ&period=60min&size=30")
return d
यदि आप टोकन या wexApp का उपयोग कर सकते हैं तो k-लाइन डेटा प्राप्त करना ठीक है, लेकिन टोकन के लिए वायदा के बदले में निम्न त्रुटि दिखाई देती है
Futures_OP 4: &{map[err-code:invalid-parameter err-msg:invalid period status:error ts:1.59162767652e+12]}
कृपया यह क्यों है
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
