Username: Password:

Author Topic: Binance Futures Error  (Read 14150 times)

Offline Benson

  • Rookie
  • *
  • Posts: 4
    • View Profile
Binance Futures Error
« on: June 14, 2022, 06:30:36 AM »
Hi,

i'm having several problems, one is that bot is running but can't buy on Binance Futures. Error is:


Code: [Select]
entering buy trade
0.01649130908011478 3
[
  precision: { base: 8, quote: 8, amount: 3, price: 2 },
  minSize: undefined
]
Original price: 1212.75
Original volume: 0.01649130908011478
Binance USDT-ETH ExchangeError: binance {"code":-4061,"msg":"Order's position side does not match user's setting."}
    at binance.handleErrors (/snapshot/node14Win/node_modules/ccxt.binanceQ/node_modules/ccxt/js/binance.js:2625:19)
    at /snapshot/node14Win/node_modules/ccxt.binanceQ/node_modules/ccxt/js/base/Exchange.js:600:18
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async timeout (/snapshot/node14Win/node_modules/ccxt.binanceQ/node_modules/ccxt/js/base/functions/time.js)
    at async binance.request (/snapshot/node14Win/node_modules/ccxt.binanceQ/node_modules/ccxt/js/binance.js:2633:26)
    at async binance.createOrder (/snapshot/node14Win/node_modules/ccxt.binanceQ/node_modules/ccxt/js/binance.js:1739:26) {
  constructor: [Function: ExchangeError]
}
Issue creating buy order:{"name":"ExchangeError"}
Error
    at errorHandler (/snapshot/node14Win/ctx/js/binanceFutures.js)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

1715

(Code 3934)Requesting data...please wait...

Same problem on arm with v23.2.9 and Windows with 24.2.3. on windows with 24.2.3 it was also impossible to setup api and secret keys (correct data entered), gui is buggy... Also asked for v25 betas as i really would like to use the new webhooks function. but if there's no version runnning... ^^

Any version which handels Binance Futures correctly? I read about Binance using USDT-ETH instead ETH-USDT, but if I canchge this in the config.js the bot doesn't fint the pair on binance futures...

Thanks,
Martin

Offline Benson

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Binance Futures Error
« Reply #1 on: June 16, 2022, 09:08:37 AM »
ok setting Binance to Single-Asset-Mode helped, no error. Another one accured later, had to re-enter Binance-Futures secret, change isEncrypted to false and restart. Quite "sensitive" this gui...

Another problem now: I can setiup traiding pairs and everything, after starting trading the button to stop trading has no more impact. It looks on the GUI like it stopped, but in the terminal i see it's still active, but after pushing the stop trading button i have several times the same error:

Code: [Select]
unhandledRejection TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
    at Cipher.update (internal/crypto/cipher.js:157:11)
    at Object.encrypt (C:\snapshot\enricoranucci\Documents\GitHub\Mio\helper.js)
    at C:\snapshot\enricoranucci\Documents\GitHub\Mio\bot.gunbot.js
    at tryCatcher (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromiseCtx (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\promise.js:641:10)
    at _drainQueueStep (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:97:12)
    at _drainQueue (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate._onImmediate (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (internal/timers.js:456:21) {
  code: 'ERR_INVALID_ARG_TYPE'
} Promise [Object] {
  _bitField: 16777216,
  _fulfillmentHandler0: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
      at Cipher.update (internal/crypto/cipher.js:157:11)
      at Object.encrypt (C:\snapshot\enricoranucci\Documents\GitHub\Mio\helper.js)
      at C:\snapshot\enricoranucci\Documents\GitHub\Mio\bot.gunbot.js
      at tryCatcher (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\util.js:16:23)
      at Promise._settlePromiseFromHandler (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\promise.js:547:31)
      at Promise._settlePromise (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\promise.js:604:18)
      at Promise._settlePromiseCtx (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\promise.js:641:10)
      at _drainQueueStep (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:97:12)
      at _drainQueue (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:86:9)
      at Async._drainQueues (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:102:5)
      at Immediate._onImmediate (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\bluebird\js\release\async.js:15:14)
      at processImmediate (internal/timers.js:456:21) {
    code: 'ERR_INVALID_ARG_TYPE'
  },
  _rejectionHandler0: undefined,
  _promise0: undefined,
  _receiver0: undefined
}

Config.js is checked with jsonlint.com checker, everything ok. Any idea (if someone is ever reading this...) what is wrong? Using ETH/USDT on BinanceFutures with builder (Futures), nothing else...

Thanks,
Martin

Offline Benson

  • Rookie
  • *
  • Posts: 4
    • View Profile
Re: Binance Futures Error
« Reply #2 on: June 16, 2022, 10:03:32 AM »
Ok no answer here and there (Should i use telegram or what to get answers?), maybe you were busy with the new release...  ;) just updated to 24.3.2, same error. Disabling pair helps.

https://viraltrading.org/gunbot-ultimate-reloaded-more-goodies-unleashed/
How to get Gunbot Simulator activated? I'm on PROMOULTIMATE....

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Binance Futures Error
« Reply #3 on: October 05, 2022, 10:19:39 PM »
Hi Benson, I'm sorry for the delay in the answers, I got covid, a pneumonia, and I have been in the hospital. I'm back now.
If you want to upgrade to New Ultimate, that includes the simulator, access to mobile app, infinite slots / exchanges running at the same time... You can do it here for just 0.015 btc using the coupon code: NEWULTIMATE

https://gunbot.shop/product/upgrade-to-ultimate/

Offline scareaching

  • Rookie
  • *
  • Posts: 5
    • View Profile
Re: Binance Futures Error
« Reply #4 on: April 05, 2023, 04:47:43 AM »
Have you resolved this problem? Did you try to install the new version?
 

Offline sarang18

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Binance Futures Error
« Reply #5 on: February 07, 2024, 03:23:00 AM »
By addressing this issue, developers can contribute to a more seamless and efficient user experience for all. Geometry Dash