Here's an example error when running a standard strategy. It gives a different error for Tradingview. I am using v22.
Current futuresGrid direction: LONG
case: open new position immediately
FuturesGrid round finished
[
precision: { base: 8, quote: 8, amount: 0, price: 5 },
minSize: undefined
]
Original price: 0.09311
Original volume: 53.69992482010525
ExchangeError: binance {"code":-4164,"msg":"Order's notional must be no smaller than 5.0 (unless you choose reduce only)"}
at binance.handleErrors (C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.binanceQ\node_modules\ccxt\js\binance.js:2625:19)
at C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.binanceQ\node_modules\ccxt\js\base\Exchange.js:600:18
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async timeout (C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.binanceQ\node_modules\ccxt\js\base\functions\time.js)
at async binance.request (C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.binanceQ\node_modules\ccxt\js\binance.js:2633:26)
at async binance.createOrder (C:\snapshot\enricoranucci\Desktop\STABLE\node_modules\ccxt.binanceQ\node_modules\ccxt\js\binance.js:1739:26) {
constructor: [Function: ExchangeError]
}
Issue creating buyTV order:{"name":"ExchangeError"}
Error
at errorHandler (C:\snapshot\enricoranucci\Desktop\STABLE\ctx\js\binanceFutures.js)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: {}
at errorHandler (C:\snapshot\enricoranucci\Desktop\STABLE\ctx-wrapper.js)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Waiting for alerts...
error for Tradingview.
************************************************************************************************
Waiting for alerts...
Waiting for alerts...
emailParsed {
timestamp: 1622270552293,
type: 'long',
exchange: 'binancefutures',
pair: 'USDT-ADA',
tl: undefined,
price: undefined
}
TypeError: Cannot read property 'needLock' of undefined
at status (C:\snapshot\enricoranucci\Desktop\STABLE\bot.gunbot.js)
at Timeout._onTimeout (C:\snapshot\enricoranucci\Desktop\STABLE\bot.gunbot.js)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) Uncaught Exception thrown