latest 3.3.4 patch, i get this output:
2017/07/28 09:27:11: Getting balances from bittrex
Error on strategy BB for BTC-XRP on bittrex while getting balances -| Error:
Processed pair BTC-XRP with delay 801 ms
2017/07/28 09:27:12: Checking open orders from bittrex
Got trading signal from BTC-RLC on bittrex with delay 451 ms at 2017/07/28 09:27:12
2017/07/28 09:27:12: Getting prices from bittrex
2017/07/28 09:27:12: Last Bid price BTC-XRP: 0.00006355 | Last Ask: 0.0000636
Unhandled rejection TypeError: Cannot read property 'BTC' of undefined
at StrategyBB.getBalance (/snapshot/gunbot/bb.js:0:0)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then.Promise (/snapshot/gunbot/bb.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:79:10)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then (/snapshot/gunbot/bb.js:0:0)
at tryCatcher (/snapshot/gunbot/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
2017/07/28 09:27:12: Getting ask and bid prices from bittrex
2017/07/28 09:27:13: Getting balances from bittrex
Error on strategy BB for BTC-RLC on bittrex while getting balances -| Error:
Processed pair BTC-RLC with delay 584 ms
2017/07/28 09:27:13: Checking open orders from bittrex
Got trading signal from BTC-ANS on bittrex with delay 82 ms at 2017/07/28 09:27:13
2017/07/28 09:27:13: Getting ask and bid prices from bittrex
2017/07/28 09:27:13: Getting prices from bittrex
2017/07/28 09:27:13: Last Bid price BTC-RLC: 0.00014509 | Last Ask: 0.00014776
Unhandled rejection TypeError: Cannot read property 'BTC' of undefined
at StrategyBB.getBalance (/snapshot/gunbot/bb.js:0:0)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then.Promise (/snapshot/gunbot/bb.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:79:10)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then (/snapshot/gunbot/bb.js:0:0)
at tryCatcher (/snapshot/gunbot/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
2017/07/28 09:27:14: Getting balances from bittrex
Error on strategy BB for BTC-ANS on bittrex while getting balances -| Error:
Processed pair BTC-ANS with delay 949 ms
2017/07/28 09:27:14: Checking open orders from bittrex
Got trading signal from BTC-RLC on bittrex with delay 1034 ms at 2017/07/28 09:27:14
2017/07/28 09:27:14: Getting prices from bittrex
2017/07/28 09:27:15: Last Bid price BTC-ANS: 0.00277018 | Last Ask: 0.00277523
Unhandled rejection TypeError: Cannot read property 'BTC' of undefined
at StrategyBB.getBalance (/snapshot/gunbot/bb.js:0:0)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then.Promise (/snapshot/gunbot/bb.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:79:10)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then (/snapshot/gunbot/bb.js:0:0)
at tryCatcher (/snapshot/gunbot/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
2017/07/28 09:27:15: Getting ask and bid prices from bittrex
2017/07/28 09:27:15: Getting balances from bittrex
Error on strategy BB for BTC-RLC on bittrex while getting balances -| Error:
Processed pair BTC-RLC with delay 126 ms
2017/07/28 09:27:16: Checking open orders from bittrex
Got trading signal from BTC-STRAT on bittrex with delay 1249 ms at 2017/07/28 09:27:16
2017/07/28 09:27:16: Getting prices from bittrex
2017/07/28 09:27:16: Last Bid price BTC-RLC: 0.00014509 | Last Ask: 0.00014776
Unhandled rejection TypeError: Cannot read property 'BTC' of undefined
at StrategyBB.getBalance (/snapshot/gunbot/bb.js:0:0)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then.Promise (/snapshot/gunbot/bb.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:79:10)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then (/snapshot/gunbot/bb.js:0:0)
at tryCatcher (/snapshot/gunbot/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
2017/07/28 09:27:17: Getting ask and bid prices from bittrex
2017/07/28 09:27:17: Getting balances from bittrex
Error on strategy BB for BTC-STRAT on bittrex while getting balances -| Error:
Processed pair BTC-STRAT with delay 1156 ms
2017/07/28 09:27:17: Checking open orders from bittrex
Got trading signal from ETH-ANS on bittrex with delay 637 ms at 2017/07/28 09:27:18
2017/07/28 09:27:18: Getting prices from bittrex
2017/07/28 09:27:18: Getting ask and bid prices from bittrex
2017/07/28 09:27:18: Last Bid price BTC-STRAT: 0.00172505 | Last Ask: 0.00173382
Unhandled rejection TypeError: Cannot read property 'BTC' of undefined
at StrategyBB.getBalance (/snapshot/gunbot/bb.js:0:0)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then.Promise (/snapshot/gunbot/bb.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:79:10)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then (/snapshot/gunbot/bb.js:0:0)
at tryCatcher (/snapshot/gunbot/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
2017/07/28 09:27:18: Getting balances from bittrex
Error on strategy BB for ETH-ANS on bittrex while getting balances -| Error:
Processed pair ETH-ANS with delay 869 ms
2017/07/28 09:27:19: Checking open orders from bittrex
Got trading signal from BTC-STRAT on bittrex with delay 1179 ms at 2017/07/28 09:27:19
2017/07/28 09:27:20: Getting prices from bittrex
2017/07/28 09:27:20: Last Bid price ETH-ANS: 0.037 | Last Ask: 0.0372
Unhandled rejection TypeError: Cannot read property 'ETH' of undefined
at StrategyBB.getBalance (/snapshot/gunbot/bb.js:0:0)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then.Promise (/snapshot/gunbot/bb.js:0:0)
at Promise.module.exports.Promise._execute (/snapshot/gunbot/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise.module.exports.Promise._resolveFromExecutor (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:79:10)
at module.exports.Strategy.process.Promise.try.then.then.then.then.then (/snapshot/gunbot/bb.js:0:0)
at tryCatcher (/snapshot/gunbot/node_modules/bluebird/js/release/util.js:16:23)
at Promise.module.exports.Promise._settlePromiseFromHandler (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:512:31)
at Promise.module.exports.Promise._settlePromise (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:569:18)
at Promise.module.exports.Promise._settlePromise0 (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:614:10)
at Promise.module.exports.Promise._settlePromises (/snapshot/gunbot/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.__dirname.Async.drainQueues (/snapshot/gunbot/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:800:20)
at tryOnImmediate (timers.js:762:5)
at processImmediate [as _immediateCallback] (timers.js:733:5)
2017/07/28 09:27:20: Received tickers from bittrex
2017/07/28 09:27:21: Getting ask and bid prices from bittrex
2017/07/28 09:27:21: Getting balances from bittrex
Error on strategy BB for BTC-STRAT on bittrex while getting balances -| Error:
Processed pair BTC-STRAT with delay 628 ms
2017/07/28 09:27:21: Checking open orders from bittrex
Got trading signal from BTC-PTOY on bittrex with delay 388 ms at 2017/07/28 09:27:21
2017/07/28 09:27:22: Getting prices from bittrex
2017/07/28 09:27:22: Last Bid price BTC-STRAT: 0.00172505 | Last Ask: 0.00173382
config:
{
"pairs": {
"bittrex": {
"BTC-XRP": {
"strategy": "bb",
"override": {}
},
"ETH-XRP": {
"strategy": "bb",
"override": {}
},
"USDT-XRP": {
"strategy": "bb",
"override": {}
},
"BTC-RLC": {
"strategy": "bb",
"override": {}
},
"ETH-RLC": {
"strategy": "bb",
"override": {}
},
"ETH-GNT": {
"strategy": "bb",
"override": {}
},
"BTC-GNT": {
"strategy": "bb",
"override": {}
},
"BTC-STRAT": {
"strategy": "bb",
"override": {}
},
"BTC-ANS": {
"strategy": "bb",
"override": {}
},
"ETH-ANS": {
"strategy": "bb",
"override": {}
},
"BTC-DGB": {
"strategy": "bb",
"override": {}
},
"BTC-PTOY": {
"strategy": "bb",
"override": {}
},
"ETH-PTOY": {
"strategy": "bb",
"override": {}
}
}
},
"exchanges": {
"poloniex": {
"key": "123",
"secret": "456"
},
"kraken": {
"key": "123",
"secret": "456"
},
"bittrex": {
"key": "123",
"secret": "456"
}
},
"bot": {
"debug": true,
"period_storage_ticker": 300,
"interval_ticker_update": 10000,
"timeout_buy": 120,
"timeout_sell": 60,
"MIN_VOLUME_TO_BUY": 0.0005,
"WATCH_MODE": false
},
"strategies": {
"bb": {
"BTC_TRADING_LIMIT": 0.001,
"PERIOD": 15,
"BUY_LEVEL": 0.1,
"GAIN": 0.6,
"HIGH_BB": 60,
"LOW_BB": 40,
"PANIC_SELL": false,
"DOUBLE_UP": true
}
}
}
[edit] The order of some of the pairs were reversed - i rearranged them for a valid config.js and things worked!!!