资源加载中... loading...

交易对基础币种计数精度获取错误

Author: wildfire02, Created: 2021-02-06 21:08:09, Updated:

代码如下:

var info = JSON.parse(HttpQuery(“https://api.huobi.pro/v1/common/symbols”)) Log(info.data[0].symbol) Log(info.data[0].amount-precision)

报错: img

请教一下哪里出了问题?


More

发明者量化-小小梦 Log(info.data[0].amount-precision) 改为 Log(info.data[0]["amount-precision"])