Type/to search
1
Follow
0
Followers
exchange.IO Tôi không biết vấn đề là gì?
Help
Created 2021-04-21 15:11:24  
 2
 1392

Bạn nào có thể cho tôi biết cách kiểm tra tỷ lệ vốn của Bitcoin, gọi tham số, và liên tục báo lỗi?
Không biết vấn đề ở đâu?

Chữ viết 1:
function main() {
var res = exchange.IO(
"api",
"GET",
"/linear-swap-api/v1/swap_funding_rate","contract_code=BTC-USDT"
); // Tỷ lệ chi trả cho hợp đồng

return res;

}

Báo cáo sai:
Futures_OP 4: 400: {"timestamp":"2021-04-21T07:07:54.715+0000","status":400,"error":"Bad Request","message":"Required String parameter 'contract_code' is not present","path":"/linear-swap-api/v1/swap_funding_rate"}

Hình thức viết:
function main() {
var res = exchange.IO(
"api",
"GET",
"/linear-swap-api/v1/swap_funding_rate?contract_code=BTC-USDT"
); // Tỷ lệ chi trả cho hợp đồng

return res;

}

Báo cáo sai:
Futures_OP 4: map[err_code:1014 err_msg:This contract doesnt exist. status:error ts:1.618988994379e+12]

Related Recommendations
Comment
All comments (2)

    公开接口用HttpQuery加密用IO,先把社区置顶的教程看了

    5 years ago

    感谢感谢,确实没有看太仔细教程!解决了一大困扰。今天就把教程仔细看了

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