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

调用 _C 时出错, in g__C TypeError: 'OOOOi11i1' object is not callable

Author: z123zero, Created: 2018-09-03 16:12:16, Updated: 2018-09-03 16:16:33

Python,OKEX期货(BTC)

ticker = _C(exchange.GetTicker())
account = _C(exchange.GetAccount())
均会出现“in g__C TypeError: 'OOOOi11i1' object is not callable”的错误

More

发明者量化-小小梦 _C 的用法问题, 仔细看文档 调用方法是 : var ret = _C(exchange.GetTicker) , _C 的参数是 函数引用, 并不是函数调用。