Username: Password:

Author Topic: Bittrex History expired - Gunbot lost history also  (Read 10746 times)

Offline johnsonboro

  • Rookie
  • *
  • Posts: 9
    • View Profile
Bittrex History expired - Gunbot lost history also
« on: April 24, 2018, 04:27:09 PM »
Gunbot crashed on my vps when I was away for a few days and it looks like it's started from scratch in terms of history when I restarted it. It's listing the coin pairings but not showing the normal info about last bought / sold price and whether it's ready to buy / sell etc... I know it normally looks like this when you first start Gunbot but I didn't know why it was doing this when I've used Gunbot for months, although it must have been off for a few days.

What I'm worried about is that I've been holding bags so long, the history from all my previous trades has expired on Bittrex and I can only get the history by downloading the csv file with the entire trading history on there.

Can Gunbot figure out / find out what your last bought price was and work out averages (I also double upped on the coins as well) when it no longer shows on Bittrex?

I could manually sell and start Gunbot up once I can see I am back above my bought prices. Obviously this would be a total pain so wondered if it would work eventually if I just leave Gunbot running?

I'm using version 702, I don't suppose it would help to upgrade necessarily?

Offline johnsonboro

  • Rookie
  • *
  • Posts: 9
    • View Profile
Re: Bittrex History expired - Gunbot lost history also
« Reply #1 on: April 24, 2018, 04:37:00 PM »
Sorry, it's also showing this error message:

Errors
/snapshot/gunbot-build/node_modules/lodash/lodash.js:537
      if (iteratee(array[index], index, array) === false) {
          ^

TypeError: Cannot read property 'Available' of undefined
    at module.exports.parseBalance._.forEach (/snapshot/gunbot-build/ctx/js/bittrex.js:0:0)
    at arrayEach (/snapshot/gunbot-build/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/snapshot/gunbot-build/node_modules/lodash/lodash.js:9359:14)
    at Bittrex.parseBalance (/snapshot/gunbot-build/ctx/js/bittrex.js:0:0)
    at /snapshot/gunbot-build/ctx/js/bittrex.js:0:0
    at Request._callback (/snapshot/gunbot-build/node_modules/node-bittrex-api/node.bittrex.api.js:144:11)
    at Request.init.self.callback (/snapshot/gunbot-build/node_modules/request/request.js:188:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request. (/snapshot/gunbot-build/node_modules/request/request.js:1171:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage. (/snapshot/gunbot-build/node_modules/request/request.js:1091:12)
    at Object.onceWrapper (events.js:312:19)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1045:12)
    at _combinedTickCallback (internal/process/next_tick.js:102:11)
    at process._tickCallback (internal/process/next_tick.js:161:9)
/snapshot/gunbot-build/node_modules/lodash/lodash.js:537
      if (iteratee(array[index], index, array) === false) {
          ^

TypeError: Cannot read property 'Available' of undefined
    at module.exports.parseBalance._.forEach (/snapshot/gunbot-build/ctx/js/bittrex.js:0:0)
    at arrayEach (/snapshot/gunbot-build/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/snapshot/gunbot-build/node_modules/lodash/lodash.js:9359:14)
    at Bittrex.parseBalance (/snapshot/gunbot-build/ctx/js/bittrex.js:0:0)
    at /snapshot/gunbot-build/ctx/js/bittrex.js:0:0
    at Request._callback (/snapshot/gunbot-build/node_modules/node-bittrex-api/node.bittrex.api.js:144:11)
    at Request.init.self.callback (/snapshot/gunbot-build/node_modules/request/request.js:188:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request. (/snapshot/gunbot-build/node_modules/request/request.js:1171:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage. (/snapshot/gunbot-build/node_modules/request/request.js:1091:12)
    at Object.onceWrapper (events.js:312:19)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1045:12)
    at _combinedTickCallback (internal/process/next_tick.js:102:11)
    at process._tickCallback (internal/process/next_tick.js:161:9)