Closed trendgiver closed 7 years ago
It seems you are missing a '
here:
key: XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXX',
Just as a side note: Poloniex is nice exchange, but recently experiencing network issues because of huge amount of new users.
I have inserted my real key, not the "XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXX" :) So the key is not missing, it is there, but it prints me out my secret key with error message mentioned above. In another app on my smartphone the API keys work fine, so it is not the issue of Polo.
I understand, but if you copied the config and replaced your key/secret with XX you have a missing '
.
If the error you get with Gekko is:
Poloniex requires "//here it writes my secret key, that i have provided" to be set in the config
If your key would be MY-SECRET-KEY and the error is:
Gekko encountered an error and can't continue
Error:
Poloniex requires "MY-SECRET-KEY" to be set in the config
Meta debug info:
Gekko version: v0.4.10
Nodejs version: v6.10.3
Than it is most likely a parsing error with the config. Because Gekko is supposed to print that you haven't configured a key (or secret), not what the key is. Can you double check all the '
symbols? There should be exactly one before your key and and after your key (same with secret).
Here is my config line and what it prints me out, I have only changed the characters in keys to make them unrecognizable here :))
MY CONFIG PART
config.trader = { enabled: true, key: 'IUKOIUJD-NU70IODP-HJU75IOP-IOOLD67N', secret: 'shuc98se7ghe8f7g8suhc89es7h98se7f8se7gf8se7gfo8se7fg8ose7fg8ose7fgse8o7fgos8e7fg8ose7gfe8os7fgse8o7fgo8se7fgo8se7gfo8se7fgs8oe7fg', username: '' // your username, only required for specific exchanges. }
AND HERE IS WHAT GEKKO PRINTS OUT
2017-05-23 16:04:05 (INFO): Setting up Gekko in realtime mode 2017-05-23 16:04:05 (INFO): 2017-05-23 16:04:05 (INFO): Setting up: 2017-05-23 16:04:05 (INFO): Candle writer 2017-05-23 16:04:05 (INFO): Store candles in a database 2017-05-23 16:04:05 (INFO):
2017-05-23 16:04:05 (INFO): Setting up: 2017-05-23 16:04:05 (INFO): Trading Advisor 2017-05-23 16:04:05 (INFO): Calculate trading advice 2017-05-23 16:04:05 (INFO): Using the strategy: CCI 2017-05-23 16:04:05 (WARN): Warning, trading method has no name 2017-05-23 16:04:05 (INFO): The trading method requests 10 minutes of historic data. Checking availablity.. 2017-05-23 16:04:05 (INFO):
2017-05-23 16:04:05 (INFO): No usable local data available, trying to get as much as possible from the exchange.. 2017-05-23 16:04:05 (DEBUG): Fetching exchange data since 10 minutes ago 2017-05-23 16:04:06 (DEBUG): Available exchange data: 2017-05-23 16:04:06 (DEBUG): from: 8 minutes ago 2017-05-23 16:04:06 (DEBUG): to: 0 minutes ago 2017-05-23 16:04:06 (DEBUG): Unable to stitch datasets. 2017-05-23 16:04:06 (INFO): Not seeding locally available data to the trading method. 2017-05-23 16:04:06 (INFO): Setting up: 2017-05-23 16:04:06 (INFO): Trader 2017-05-23 16:04:06 (INFO): Follows the advice and create real orders.
Gekko encountered an error and can't continue
Error:
Poloniex requires "shuc98se7ghe8f7g8suhc89es7h98se7f8se7gf8se7gfo8se7fg8ose7fg8ose7fgse8o7fgos8e7fg8ose7gfe8os7fgse8o7fgo8se7fgo8se7gfo8se7fgs8oe7fg" to be set in the config
Meta debug info:
Gekko version: v0.4.10 Nodejs version: v6.10.3
SOLVED! There was something wrong with an installation, i think i have messed up with other config files. Installed to other dir, works fine!
I have the same problem. How did you solve it?
I have configured the config.js for trading on Poloniex, I have used both valid API keys, but I get an error message:
Gekko
encountered an error and can't continue
Error:
Poloniex requires "//here it writes my secret key, that i have provided" to be set in the config Meta debug info: Gekko version: v0.4.10 Nodejs version: v6.10.3
here is my config setting