错误:桶大小规范无效:未定义

时间:2017-12-19 22:39:33

标签: zenbot

./zenbot.sh trade --manual
node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:635:30
/home/local/zenbot/node_modules/timebucket/lib/bucket-size.js:15
  if (!match) throw new Error('invalid bucket size spec: ' + spec);
              ^

Error: invalid bucket size spec: undefined
    at BucketSize.parse (/home/local/zenbot/node_modules/timebucket/lib/bucket-size.js:15:21)
    at new BucketSize (/home/local/zenbot/node_modules/timebucket/lib/bucket-size.js:5:21)
    at Bucket.resize (/home/local/zenbot/node_modules/timebucket/lib/bucket.js:30:14)
    at Command.<anonymous> (/home/local/zenbot/commands/trade.js:312:32)
    at Command.listener (/home/local/zenbot/node_modules/commander/index.js:315:8)
    at emitTwo (events.js:126:13)
    at Command.emit (events.js:214:7)
    at Command.parseArgs (/home/local/zenbot/node_modules/commander/index.js:653:12)
    at Command.parse (/home/local/zenbot/node_modules/commander/index.js:475:21)
    at /home/local/zenbot/zenbot.js:39:11
    at /home/local/zenbot/boot.js:24:7
    at f (/home/local/zenbot/node_modules/once/once.js:25:25)
    at Glob.<anonymous> (/home/local/zenbot/node_modules/glob/glob.js:151:7)
    at emitOne (events.js:116:13)
    at Glob.emit (events.js:211:7)
    at Glob._finish (/home/local/zenbot/node_modules/glob/glob.js:197:8)
    at done (/home/local/zenbot/node_modules/glob/glob.js:182:14)
    at Glob._processGlobStar2 (/home/local/zenbot/node_modules/glob/glob.js:637:12)
    at /home/local/zenbot/node_modules/glob/glob.js:626:10
    at RES (/home/local/zenbot/node_modules/inflight/inflight.js:31:16)
    at f (/home/local/zenbot/nodemodules/once/once.js:25:25)
    at lstatcb (/home/local/zenbot/node_modules/glob/glob.js:519:7)

我不知道是什么导致这种情况,因为我很确定我已按照指示操​​作了T. 试图用它来手动交易GDAX,我在conf上有我的api键。 我在Windows 10上使用&#34; Bash on Windows上的Ubuntu&#34;。

1 个答案:

答案 0 :(得分:0)

根据#938上的GitHub问题,这已在#926#940拉取请求中得到修复。

所以请考虑升级您的Zenbot。否则提出a new issue