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...
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
}