Zenbot: ccxt crash

Created on 13 Oct 2017  路  4Comments  路  Source: DeviaVir/zenbot

Latest pull:

rebootfin@zenbot:~/zenbot$ zenbot trade cexio.eth-usd --strategy cci_srsi --period 10m
/home/rebootfin/zenbot/node_modules/ccxt/ccxt.js:494
                    let partial = async params => this[methodName] (url, type, uppercaseMethod, params)
                                        ^^^^^^

SyntaxError: Unexpected identifier
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/rebootfin/zenbot/extensions/exchanges/hitbtc/exchange.js:1:76)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/rebootfin/zenbot/extensions/exchanges/hitbtc/_codemap.js:4:23)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)

Most helpful comment

Looks like a downside of ccxt:
https://github.com/ccxt-dev/ccxt/blob/master/package.json#L8
on the other side, ccxt gives us a ton of exchanges... I think we can start recommending folks to upgrade to node 8 (current).

All 4 comments

What node version?

v6.11.4

v8.6.0 is OK.

Looks like a downside of ccxt:
https://github.com/ccxt-dev/ccxt/blob/master/package.json#L8
on the other side, ccxt gives us a ton of exchanges... I think we can start recommending folks to upgrade to node 8 (current).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dalikman picture dalikman  路  5Comments

sam-perez picture sam-perez  路  5Comments

dymex0 picture dymex0  路  3Comments

asafyish picture asafyish  路  3Comments

gleblanc1783 picture gleblanc1783  路  3Comments