GUNBOT: The automatic profit generator > General Discussion

Gunbot faulted out and will no longer start

(1/1)

bney:
Gunbot has suddenly decided it doesnt want to load anymore. Below is the error its throwing repeatedly.



Your registered exchanges:
KRAKEN:

Loading exchange - kraken
Loading data....
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at Timeout._onTimeout (C:\snapshot\enricoranucci\Desktop\STABLE\gui\sockets\coremem.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7) Uncaught Exception thrown

Tracked it down to the following pair in the config file
"USD-STORJ": {
                "strategy": "bbta-tssl",
                "enabled": true,
                "override": {
                    "TRADING_LIMIT": "20",
                    "MIN_VOLUME_TO_SELL": "10",
                    "MIN_VOLUME_TO_BUY": "10",
                    "BOUGHT_PRICE": null,
                    "PERIOD": "1h"
                }
            }

I set bought price to a value since I imported several hundred coin to the exchange. Gunbot eventually sold it. Looks like Gunbot set the bought_price to null then
got all upset about it. Gunbot should have deleted the entry alltogether when it was no longer valid. I would call that a bug.

Aitor:

--- Quote from: bney on December 19, 2021, 10:04:10 PM ---Gunbot has suddenly decided it doesnt want to load anymore. Below is the error its throwing repeatedly.



Your registered exchanges:
KRAKEN:

Loading exchange - kraken
Loading data....
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at isEqualTwoData (C:\snapshot\enricoranucci\Desktop\STABLE\gui\classes\common.js)
    at Timeout._onTimeout (C:\snapshot\enricoranucci\Desktop\STABLE\gui\sockets\coremem.js)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7) Uncaught Exception thrown

Tracked it down to the following pair in the config file
"USD-STORJ": {
                "strategy": "bbta-tssl",
                "enabled": true,
                "override": {
                    "TRADING_LIMIT": "20",
                    "MIN_VOLUME_TO_SELL": "10",
                    "MIN_VOLUME_TO_BUY": "10",
                    "BOUGHT_PRICE": null,
                    "PERIOD": "1h"
                }
            }

I set bought price to a value since I imported several hundred coin to the exchange. Gunbot eventually sold it. Looks like Gunbot set the bought_price to null then
got all upset about it. Gunbot should have deleted the entry alltogether when it was no longer valid. I would call that a bug.

--- End quote ---

What version of the bot are you using?

Try removing the line  "BOUGHT_PRICE": null,

Navigation

[0] Message Index

Go to full version