Type/to search
0
Follow
1
Followers
报错Cannot convert "POST" to int
Help
Created 2020-04-29 20:49:46  
 3
 1352

使用https://www.fmz.cn/bbs-topic/4183#io函数访问加密接口的以下函数会报错:

var id = exchange.IO("api", "POST", "/api/v1/order", "symbol=XBTUSD&side=Buy&orderQty=1&stopPx=4000&ordType=Stop")

var id = exchange.IO("api", "POST", "/api/v1/order", "", JSON.stringify({symbol:"XBTUSD",side:"Buy",orderQty:1,stopPx:4000,ordType:"Stop"}))

看了下2年前就有相关的问题了,麻烦管理员核实一下,能够尽快修复

Related Recommendations
Comment
All comments (3)

    IO函数不能回测

    6 years ago

    谢谢,那请问IO函数一般怎么调试呢?

    6 years ago

    首页有调试工具

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