-
Notifications
You must be signed in to change notification settings - Fork 2k
why error? #69
Comments
Live trading for Kraken is not currently supported. As for the TypeError you are getting, I cannot find the line |
Thank you for answer. Description Zenbot is a lightweight, extendable, artificially intelligent trading bot. Currently Zenbot is capable of: - Multiple exchange support for Bitfinex, GDAX, Kraken, Poloniex (and more)I did not install the Kraken API node. I was 5days after launch config.js var c = module.exports = require('./config_defaults')() // mongo stuff c.gdax_key = 'woogawoogawoogawoogawooga' // TO ENABLE BOT TRADING: set this to GDAX api key, // watch these exchanges // selector for indicators, trading, etc // add selectors in the format "{exchange-slug}.{asset}-{currency}" to graph them // trade logic run.sh #!/bin/sh all-in-one single-pair run script using BTC/USD pair.change to a different config to run a different pair.sudo service mongod start config_etc_btc.js var c = module.exports = require('./config') c.assets = [ // selector for indicators, trading, etc default_logic.js var first_run = true var KrakenClient = require('kraken-api'); // Put here your credentials module.exports = function container (get, set, clear) {
}
] |
You must install kraken-api for this to work. Why do you have:
I'm assuming you've replaced woogawoogawooga and pororopororopororo== with your actual keys? and in your config you must remove the API key & secret from:
If you want to trade on Kraken instead of gdax change it to:
The API key & secret is only defined in default_logic.js for what was posted in issue #9. For Kraken trading you must define the following variables on lines 13 & 14 for the default_logic.js code that was pasted in #9 :
If you have a any string (and one that that includes '==') instead of your API key this is probably what is causing your 'TypeError' err message. Did it work after doing |
I'll try. c.gdax_key = '' and i'm Tried gekko@gekko1: npm ERR! enoent ENOENT: no such file or directory, open '/home/gekko/zenbot/kraken=api' npm ERR! Please include the following file with any support request: npm WARN [email protected] No repository field. npm ERR! Error: EACCES: permission denied, access '/home/gekko/zenbot/node_modules' npm ERR! Please include the following file with any support request: npm WARN [email protected] No repository field. npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' gekko@gekko1:~/zenbot$ ./run.sh gekko@gekko1:~/zenbot$ 09/14/2016 09:34:47 PM KST [ launcher] saved run_state, id = zb_reduce
BrowserWorkingCloudFlareWorkingHostError
CloudFlare Ray ID: 2e23e1aeaf083a12 • Your IP: 175.xxx.203.xxx • Performance & security by CloudFlare
09/14/2016 09:36:24 PM KST [ERROR] kraken non-200 status: 525 <title>api.kraken.com | 525: SSL handshake failed</title> <style type="text/css">body{margin:0;padding:0}</style> <script type="text/javascript" src="/cdn-cgi/scripts/zepto.min.js"></script> <script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script>
BrowserWorkingCloudFlareWorkingHostError
CloudFlare Ray ID: 2e23e1aeae913a12 • Your IP: 175.xxx.203.xxx • Performance & security by CloudFlare
09/14/2016 09:36:25 PM KST [ERROR] kraken non-200 status: 525 gekko@gekko1:~/zenbot$ ./run.sh |
Be aware you posted your IP address, you should edit your post and remove this ASAP. Try launching zenbot manually, for example: |
thank you very much. gekko@gekko1:~/zenbot$ ./zenbot launch map --backfill reduce server run --configconfig_etc_btc.js TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined TypeError: Cannot read property 'indexOf' of undefined |
You need a space in between the --config flag and the config file, Glad I was able to help |
After the end of an error. |
@hlboys That last error in your end.txt appears to be due to zenbot losing connection to mongodb. The previous |
Answer Thank you very much. Stop being a prompt appears. |
I'm sorry I can't fully understand you, are you using a language translator? I do think a dedicated machine/server is by far the best option for trading with any bot. I know many people use Amazon Web Services, Google Cloud, and Digital Ocean Droplet among other services. Anyone else have any suggestions for a reliable & cost effective Virtual Server solution? |
Yes. I use language translator. |
i wanna ETC/XBT trade at Kraken
Referring to #9 Zenbot3 Had installed
~/zenbot$ ./run.sh
09/13/2016 11:33:04 PM KST [ launcher] cmd
launch
booting09/13/2016 11:33:06 PM KST [ launcher] cmd
map
booting09/13/2016 11:33:06 PM KST [ launcher] cmd
run
booting09/13/2016 11:33:06 PM KST [ launcher] cmd
reduce
booting09/13/2016 11:33:06 PM KST [ runner] starting
09/13/2016 11:33:06 PM KST [ launcher] cmd
server
booting09/13/2016 11:33:06 PM KST [ server] zenbot/3.5.16 booted!
09/13/2016 11:33:06 PM KST [ server] open http://localhost:3013/?secret=xxxxxxxxxxxxxxxxxxxxxx to see a live graph.
09/13/2016 11:33:07 PM KST [ kraken] m24562892 5 trades. 09/13/2016 10:32:51 PM KST BUY 209.642 at 1.322 XETC/ZUSD
09/13/2016 11:33:08 PM KST [ kraken] m24562950 13 trades. 09/13/2016 11:30:41 PM KST BUY 438.235 at 0.002 XETC/XXBT
09/13/2016 11:33:42 PM KST [ reducer] processing 3/ticks sec, thought queue: 0
crypto.js:73
this._handle.update(data, encoding);
^
TypeError: Data must be a string or a buffer
at TypeError (native)
at Hash.update (crypto.js:73:16)
at module.exports (/home/gekko/zenbot/node_modules/sig/index.js:5:36)
at /home/gekko/zenbot/default_logic.js:185:27
at Immediate.doNext (/home/gekko/zenbot/node_modules/zenbrain/utils/apply_funcs.js:10:12)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate as _immediateCallback
09/13/2016 11:35:01 PM KST [ launcher] cmd
run
exited with code 1, respawning now.09/13/2016 11:35:02 PM KST [ launcher] cmd
run
booting09/13/2016 11:35:02 PM KST [ runner] starting
^C09/13/2016 11:36:14 PM KST [ launcher] cmd
server
exiting09/13/2016 11:36:14 PM KST [ launcher] cmd
map
exiting09/13/2016 11:36:14 PM KST [ launcher] cmd
launch
exiting09/13/2016 11:36:14 PM KST [ launcher] cmd
run
exiting09/13/2016 11:36:14 PM KST [ launcher] cmd
reduce
exiting09/13/2016 11:36:14 PM KST [ launcher] saved run_state, id = zb_run
09/13/2016 11:36:14 PM KST [ launcher] saved run_state, id = zb_reduce
09/13/2016 11:36:14 PM KST [ launcher] saved run_state, id = zb_map
09/13/2016 11:36:14 PM KST [ launcher] saved run_state, id = zb_server
09/13/2016 11:36:14 PM KST [ launcher] saved run_state, id = zb_launch
The text was updated successfully, but these errors were encountered: