41
General Discussion / Re: Gunbot v4.0.4 - Poloniex/Bittrex/Kraken/Cryptopia - Core Edition - AllOs_x64
« on: August 19, 2017, 02:51:28 PM »
EDIT1
Ok I got the config.js more or less working right now. There was a Comma to much at the pairs section.
Now it says the following:
EDIT2
I guess I have found the solution. I have had still the 127.0.0.1 poloniex.com loopback within my /etc/hosts file, for the gunbotproxy. It looks fine now - at least for the moment. I am wondering, why GB 4 is catching prices every 15seks - doesn't that lead to an API ban?
Original post
Hey eBitcoinworld,
thank you very much for the hint! I tryed out a fresh installation/config of 4.04 and only added one pair (BTC_XMR) for testing purposes. When running the bot it instantly crashes stating that there is a problem with the config(my assumption) on line 140 (what is the beginning of the bbstepgain funktion).
My Pair looks like this:
while my bbstepgain looks like:
Error:
An idea, what I am doing wrong here?
Ok I got the config.js more or less working right now. There was a Comma to much at the pairs section.
Now it says the following:
Code: [Select]
Loading config ...
Loading exchange poloniex
Kicking poloniex, receiving new tickers...
Getting tickers for poloniex catch error: Cannot read property 'error' of undefined
repeating this error over and over again. EDIT2
I guess I have found the solution. I have had still the 127.0.0.1 poloniex.com loopback within my /etc/hosts file, for the gunbotproxy. It looks fine now - at least for the moment. I am wondering, why GB 4 is catching prices every 15seks - doesn't that lead to an API ban?
Original post
Yes you can switch easily best is create a separate directory and install in it. You will have to modify (override) your configuration and provide for each pair the "BOUGHT_PRICE" that way it knows that what price you had purchased those coins for. Try and test with one pair and test and then migrate all other pairs. You can always switch back from 4.x to 3.3 anytime as you have the backup directory just run Gunbot from that directory instead and you are back on 3.3.
....
I hope this helps...
Good luck!
Hey eBitcoinworld,
thank you very much for the hint! I tryed out a fresh installation/config of 4.04 and only added one pair (BTC_XMR) for testing purposes. When running the bot it instantly crashes stating that there is a problem with the config(my assumption) on line 140 (what is the beginning of the bbstepgain funktion).
My Pair looks like this:
Code: [Select]
"pairs": {
"poloniex": {
"BTC_XMR": {
"strategy": "bbstepgain",
"override": {"BOUGHT_PRICE": 0.01849999}
}
},
},
while my bbstepgain looks like:
Code: [Select]
"bbstepgain": {
"BTC_TRADING_LIMIT": 0.01,
"PERIOD": 15,
"HIGH_BB": 45,
"LOW_BB": 45,
"SELLLVL1": 3,
"SELLLVL2": 6,
"SELLLVL3": 12,
"SELLLVL": 3,
"LASTPOINTS": 5,
"AVGPOINTS": 250,
"AVGMINIMUM": 0.00000001,
"EMA1": 2000,
"EMA2": 1000,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
Error:
Code: [Select]
Bot crashed at 2017/08/19 15:42:40
Reason: Failed to load config!!!
Parameter: undefined
Original error: SyntaxError: Unexpected token } in JSON at position 140
at JSON.parse (<anonymous>)
at Promise (/snapshot/gunbot-build/bot.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot-build/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot-build/node_modules/bluebird/js/release/promise.js:79:10)
at loadConfig (/snapshot/gunbot-build/bot.js:0:0)
at Object.start (/snapshot/gunbot-build/bot.js:0:0)
at Object.<anonymous> (/snapshot/gunbot-build/bot.js:0:0)
at Module._compile (pkg/prelude/bootstrap.js:1173:22)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at Module.require (pkg/prelude/bootstrap.js:1083:31)
at require (internal/module.js:11:18)
at Object.<anonymous> (/snapshot/gunbot-build/index.js:0:0)
at Module._compile (pkg/prelude/bootstrap.js:1173:22)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
An idea, what I am doing wrong here?