3
« 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:
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