GUNBOT: The automatic profit generator > Technical Support & Development

TypeError: Cannot set property 'currentQty' of undefined

(1/1)

jilipollo:
Hi,

I'm encountering the following error when trying to run any pair on Binance Futures :

Loading exchange - binanceFutures
Loading data....
TypeError: Cannot set property 'currentQty' of undefined
    at Gdax.parseBalance (/snapshot/test/Desktop/node14/ctx/js/binanceFutures.js)
    at /snapshot/test/Desktop/node14/ctx/js/binanceFutures.js
    at processTicksAndRejections (internal/process/task_queues.js:97:5) Unhandled Rejection at Promise Promise {
  <rejected> TypeError: Cannot set property 'currentQty' of undefined
      at Gdax.parseBalance (/snapshot/test/Desktop/node14/ctx/js/binanceFutures.js)
      at /snapshot/test/Desktop/node14/ctx/js/binanceFutures.js
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
}

I tried out a clean install and a new API key but no luck

Does anyone know how to fix that?
Thanks in advance for your help

Aitor:

--- Quote from: jilipollo on February 04, 2021, 02:20:36 PM ---Hi,

I'm encountering the following error when trying to run any pair on Binance Futures :

Loading exchange - binanceFutures
Loading data....
TypeError: Cannot set property 'currentQty' of undefined
    at Gdax.parseBalance (/snapshot/test/Desktop/node14/ctx/js/binanceFutures.js)
    at /snapshot/test/Desktop/node14/ctx/js/binanceFutures.js
    at processTicksAndRejections (internal/process/task_queues.js:97:5) Unhandled Rejection at Promise Promise {
  <rejected> TypeError: Cannot set property 'currentQty' of undefined
      at Gdax.parseBalance (/snapshot/test/Desktop/node14/ctx/js/binanceFutures.js)
      at /snapshot/test/Desktop/node14/ctx/js/binanceFutures.js
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
}

I tried out a clean install and a new API key but no luck

Does anyone know how to fix that?
Thanks in advance for your help

--- End quote ---

Hi, it was a temporary issue on Binance api keys, they already fixed it, so everything is working fine now.

jilipollo:
Hi mate,

Thanks for your help.
Looks like it is still working on it as this error keeps appearing.
I also tried out a new pair and a new API. Nothing changed.

jilipollo:
Ok, so this is still the same situation at the time I'm writing those words and I'm suspecting that this is not (only) Binance related.
The weard thing is this error only appears for Futures. Binance exchange is running fine on my bot.
I will keep trying to activate a Futures pair regularly though.
Let's give it some time.

I will keep you updated if things come back to normal.

Aitor:
Hi, you are right, after Binance changes, now it's needed to use a new Gunbot version adapted to it. Latest beta version should do the trick. If you don't know where to download the latest beta version, send me a PM and I will tell you.

Navigation

[0] Message Index

Go to full version