Type/to search
1
Follow
0
Followers
exchange.IO No sé cuál es el problema.
Help
Created 2021-04-21 15:11:24  
 2
 1392

¿Cuál de los hermanos mayores me mostró cómo buscar el tipo de interés de la moneda, llamar a los parámetros y seguir dando señales de error?
No sé cuál es el problema.

¿Cómo se escribe?
function main() {
var res = exchange.IO(
"api",
"GET",
"/linear-swap-api/v1/swap_funding_rate","contract_code=BTC-USDT"
La tasa de financiación para obtener el contrato

return res;

}

El error fue:
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"}

¿Cómo se escribe?
function main() {
var res = exchange.IO(
"api",
"GET",
"/linear-swap-api/v1/swap_funding_rate?contract_code=BTC-USDT"
La tasa de financiación para obtener el contrato

return res;

}

El error fue:
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)