askmike / gekko

A bitcoin trading bot written in node - https://gekko.wizb.it/
MIT License
10.05k stars 3.95k forks source link

problem #206

Closed ejko closed 10 years ago

ejko commented 10 years ago

i do "git pull && npm update" - update gekko. in settings file just add my cex account, key, secret and change currency to GHS. after that start gekko "node gekko config=config/user/cexio.js"

and a have that erorr :

/home/user/gekko/config/user/cexio.js:1 (function (exports, require, module, filename, dirname) { \// Everything ^ SyntaxError: Unexpected token ILLEGAL at Module._compile (module.js:439:25) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.util.getConfig (/home/user/gekko/core/util.js:18:15) at Object. (/home/user/gekko/core/util.js:144:19) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)

is it i do somthing wrong ?

ejko commented 10 years ago

in setting file just delete first slash. and it is OK now.

askmike commented 10 years ago

Do note that the config file you are using is very old, so you are most likely to run into other problems along the way. Please check the comment on the forum.