Type/to search
33
Follow
63
Followers
Sobre o Backtesting de Futuros
FAQ
Created 2016-04-06 14:43:37  
 2
 2256
function main() { var coin = exchanges[0].GetCurrency().toLowerCase(); //获取币种 var Aaccount = GetAccount(0); var obj = JSON.parse(exchanges[0].GetRawJSON()); //最后一次调用api的详细信息 var quanyinew = obj.info[coin].rights; Log(exchange.GetAccount(),quanyinew); }

O disco rígido não teve problemas, mas quando o teste foi feito, apareceu o seguinte erro: TypeError: Cannot read property 'btc' of undefined 。

Não sei como encontrar os direitos e interesses da conta no retorno?

Related Recommendations
Comment
All comments (2)

    GetRawJSON 这个函数回测是不支持的与 HttpQuery 一样。只支持实盘环境.

    10 years ago

    期货回测,怎么处理比较好?

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