"bittrex": {
"BTC-DASH": {"strategy":"bbgain","override": {}}
,"BTC-ETH": {"strategy":"bbgain","override": {}}
},
"bbgain": {
"BTC_TRADING_LIMIT": 0.001,
"PERIOD": 15,
"GAIN": 0.6,
"LOW_BB": 10,
"EMA1": 200,
"EMA2": 50,
"PANIC_SELL": false,
"DOUBLE_UP": false,
"STOP_LIMIT": 60,
"BUY_ENABLED": true,
"MIN_VOLUME_TO_BUY": 0.001,
"MIN_VOLUME_TO_SELL": 0.001
},
017/08/17 16:50:33: Last Ask/Price to buy: 0.06890101/0.068935265
ɢՍͶ฿ͳ v4.0.4 Tips&Tricks: BTC-ETH can be averaged!!!
ɢՍŋɃǾŦ v4.0.4 Tips&Tricks: BTC-ETH can be bought!!!
2017/08/17 16:50:33: There are some trading opportunities for BTC-ETH at bittrex. Scanning Trade History
2017/08/17 16:50:33: Last Bid price BTC-ETH: 0.068901 | Last Ask: 0.06890101
2017/08/17 16:50:33: Balance BTC: 0.1112904
2017/08/17 16:50:33: Balance ETH: 0.01440917
2017/08/17 16:50:33: On Orders ETH: 0
Processing strategy BB_GAIN for BTC-ETH on bittrex
┌───────────────┬─────────────┬─────────────┬─────────────┬────────────┬───────────┬────────────┬─────────┐
│ ɢƱҊпиŦ v4.0.4 │ LowBB │ HighBB │ Buy at │ Last │ BTC │ ETH │ Pair │
├───────────────┼─────────────┼─────────────┼─────────────┼────────────┼───────────┼────────────┼─────────┤
│ Buy cycle │ 0.06890085 │ 0.06924500 │ 0.068935265 │ 0.06890101 │ 0.1112904 │ 0.01440917 │ BTC-ETH │
├───────────────┼─────────────┼─────────────┼─────────────┼────────────┼───────────┼────────────┼─────────┤
│ Callbacks │ Time to buy │ 0.068935265 │ BTC-ETH │ │ │ │ │
├───────────────┼─────────────┼─────────────┼─────────────┼────────────┼───────────┴────────────┴─────────┤
│ BOUGHT!!! │ Amount: │ 0.01451358 │ Rate: │ 0.06890101 │ │
└───────────────┴─────────────┴─────────────┴─────────────┴────────────┴──────────────────────────────────┘
------------------------------------------------------------------------------------------------
1. Getting the following error on strategy BB for BTC-XLM on bittrex while getting ema2 -\ Error: undefined is not a function
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. 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!
"pairs": {
"poloniex": {
"BTC_XMR": {
"strategy": "bbstepgain",
"override": {"BOUGHT_PRICE": 0.01849999}
}
},
},
"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
},
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)
Why the use of 45 for BB ? Seems pretty agressive and ends up paying much higher isn't it? Or I misunderstand the 45?
Thank you