Username: Password:

Author Topic: Bugs/Issues tracker v3.3.4  (Read 23751 times)

Offline AlexTTT

  • Rookie
  • *
  • Posts: 1
    • View Profile
Bugs/Issues tracker v3.3.4
« on: July 27, 2017, 11:16:14 PM »
hello

as there was no such topic, i thought i'd create one.

i ran into the following issue:
Gunbot was stuck on waiting on open orders for half an hour, the orders was fulfilled on bittrex.
it then went into a loop of 'getting prices from bittrex' . i closed it, restarted it gave some error about BTC_OMG price that i didn t catch, restarted it again and it went into the sell cycle.

Secondary question, where could we get access to some docs regarding the websockets api? i'm thinking of building a simple interface just to see it's status

Cheers

Offline stm256

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Bugs/Issues tracker v3.3.4
« Reply #1 on: July 27, 2017, 11:47:49 PM »
Double up is does not seem to double with only one bag. Since I've started 3.3.4 24h ago I have got pairs with 2,3 and 5 bags and now all btc is in alts :S

Offline dbs_champ

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Bugs/Issues tracker v3.3.4
« Reply #2 on: July 28, 2017, 08:29:59 AM »
latest 3.3.4 patch, i get this output:
Code: [Select]
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:
Code: [Select]
{
"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!!!
« Last Edit: July 28, 2017, 09:23:15 AM by dbs_champ »

Offline moebius26

  • Rookie
  • *
  • Posts: 3
    • View Profile
Re: Bugs/Issues tracker v3.3.4
« Reply #3 on: July 29, 2017, 02:11:09 AM »
Hi dbs_champ,

Can you please explain what do you mean with "The order of some of the pairs was reversed" ??

i don't understand .. I am getting the same error and I only have 4 pairs configured and the order seems correct to me ..

....
"pairs": {
      "poloniex": {
         "BTC_LTC": {
            "strategy": "bb",
            "override": {}
         },
         "BTC_XMR": {
            "strategy": "bb",
            "override": {}
         },
         "BTC_GAME": {
            "strategy": "bb",
            "override": {}
         },
         "BTC_XRP": {
            "strategy": "bb",
            "override": {}
         }
      }
..............

Thanks

M

Offline danialt

  • Rookie
  • *
  • Posts: 13
    • View Profile
Re: Bugs/Issues tracker v3.3.4
« Reply #4 on: July 31, 2017, 12:24:49 PM »
Been running 3.3.4 since yesterday on Bittrex
It seems to be struggling to sell, happily bought loads. But lost out on some good sales

So this morning, changed the config to run just one coin
changed the HighBB to 50, with a GAIN of 0.6

now getting
Error on strategy BB for BTC-NAV on bittrex while selling -| Error:

but no information to act upon

So what i've also seen is that the price grow and grow until the expected sale price, then just crash with the above error and no sale.

Any thoughts?
« Last Edit: July 31, 2017, 01:38:22 PM by danialt »

Offline nero.marcellinus

  • Rookie
  • *
  • Posts: 6
    • View Profile
Re: Bugs/Issues tracker v3.3.4
« Reply #5 on: August 05, 2017, 07:56:09 AM »
i ran into the following issue:
Gunbot was stuck on waiting on open orders for half an hour, the orders was fulfilled on bittrex.
it then went into a loop of 'getting prices from bittrex' . i closed it, restarted it gave some error about BTC_OMG price that i didn t catch, restarted it again and it went into the sell cycle.

Happened to me too. Sold BTC_XBC according to my trade history at 2017-08-05 03:31:16. As of 2017/08/05 06:37:44
was still waiting on the order. At 2017/08/05 04:04:06 it made four straight buys for the total balance of 1.20036535
and was then stuck in 'Waiting on open orders'. Stopping and restarting then put it back into the sell cycle.

Code: [Select]
2017/08/05 06:37:44: Last Bid price BTC_XBC: 0.03412001 | Last Ask: 0.03416142
2017/08/05 06:37:44: Balance BTC: 0.00572893
2017/08/05 06:37:44: Balance XBC: 1.20036535
2017/08/05 06:37:44: On Orders XBC: 0.00000000
Processing strategy BB for BTC_XBC on poloniex
┌─────────────────┬─────────────────────┬─────────────────────────┬────────────┬─────────┐
│ ɢՍƝßøŦ v3.3.4   │ SMA                 │ LowBB                   │ HighBB     │ Pair    │
├─────────────────┼─────────────────────┼─────────────────────────┼────────────┼─────────┤
│ Buy cycle       │ 0.03628145          │ 0.03095374              │ 0.04160917 │ BTC_XBC │
├─────────────────┼─────────────────────┼─────────────────────────┼────────────┼─────────┤
│ GUNBOT CALLBACK │ 2017/08/05 06:37:44 │ Waiting for open orders │            │         │
└─────────────────┴─────────────────────┴─────────────────────────┴────────────┴─────────┘

Offline Culture

  • Rookie
  • *
  • Posts: 40
    • View Profile
Re: Bugs/Issues tracker v3.3.4
« Reply #6 on: August 09, 2017, 04:40:38 AM »
Hi dbs_champ,

Can you please explain what do you mean with "The order of some of the pairs was reversed" ??

i don't understand .. I am getting the same error and I only have 4 pairs configured and the order seems correct to me ..

....
"pairs": {
      "poloniex": {
         "BTC_LTC": {
            "strategy": "bb",
            "override": {}
         },
         "BTC_XMR": {
            "strategy": "bb",
            "override": {}
         },
         "BTC_GAME": {
            "strategy": "bb",
            "override": {}
         },
         "BTC_XRP": {
            "strategy": "bb",
            "override": {}
         }
      }
..............

Thanks

M

I'm not sure what is causing your pair issues, but I had the same error.  In my case, my pair was loaded by Sjakil GUI:  Bittrex pair "USDT-ETH" (which is how they present it, fwiw) but this broke the bot.  I reversed the pair to be "ETH-USDT" and all is well.
If you find my discussion useful, buy me a drink: 17vaWPJeDN7YXfRu6TRrwUDY8ETTPtJuCu