askmike / gekko

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

Having a error. Mind helping? #59

Closed levitt closed 10 years ago

levitt commented 10 years ago

Currently I have an issue setting up the config to cex.io for ghs/btc trading. I've put in my api with all accesses to ensure it wasn't a api issue. Ive activated the api also.

The bot works fine when I disable real trading but when I enable it for real trading, I keep getting this error.

C:\Users\VC\Desktop\tradebot>node gekko 2013-12-03 22:21:27 (INFO): I'm gonna make you rich, Bud Fox. 2013-12-03 22:21:27 (INFO): Let me show you some Exponential Moving Averages .

2013-12-03 22:21:27 (INFO): Using normal settings to monitor the live market

2013-12-03 22:21:27 (INFO): Profit reporter active on simulated balance

C:\Users\VC\Desktop\tradebot\exchanges\cexio.js:167 currency = parseFloat(data.BTC.available) - parseFloat(data.BTC.orders); ^ TypeError: Cannot read property 'available' of undefined at calculate (C:\Users\VC\Desktop\tradebot\exchanges\cexio.js:167:35) at bound (C:\Users\JVC\Desktop\tradebot\node_modules\lodash\dist\lodash.j s:725:21) at IncomingMessage. (C:\Users\VC\Desktop\tradebot\node_module s\cexio\cexio.js:63:7) at IncomingMessage.EventEmitter.emit (events.js:117:20) at _stream_readable.js:920:16 at process._tickCallback (node.js:415:13)

C:\Users\VC\Desktop\tradebot>

What do these errors mean? Is it related to how I set up the real trading information? Or is this a api error related to gekko?

kuzetsa commented 10 years ago

@levitt if my install did that I'd assume something was corrupt and use the steps on this checklist:

Good luck & hope you get it figured out :)

levitt commented 10 years ago

@kuzetsa ah...I tried that already, tried it again using your steps, still failed :( I guess ill have to wait for askmike.

askmike commented 10 years ago

This should be fixed now, reopen if it isn't please.