1
Technical Support & Development / Re: gunbot 24.3.2 PNL
« on: October 29, 2022, 05:22:21 AM »
I just went from 24.3.2 to 24.6.7 and got this error.
It was just after a market spot sell and the sell did go through OK on the exchange.
I'll see what happens next buy.
EDIT: It did the same on the next buy, the trade took place but that same error came up in the bot command window.
Code: [Select]
unhandledRejection Error: [DecimalError] Invalid argument: undefined
It was just after a market spot sell and the sell did go through OK on the exchange.
I'll see what happens next buy.
EDIT: It did the same on the next buy, the trade took place but that same error came up in the bot command window.
Code: [Select]
+-----------------------------------------------------------------------------------+
¦ ?????L RT Edition ¦ Version ¦ Exchange ¦ Pair ¦ Cycle ¦
+--------------------+----------------------+----------+--------------+-------------¦
¦ TradingView Plugin ¦ v24.6.7 ¦ binance ¦ USDT-BTC ¦ BUY ¦
+--------------------+----------------------+----------+--------------+-------------¦
¦ ¦ Ask ¦ Bid ¦ Balance USDT ¦ Balance BTC ¦
+--------------------+----------------------+----------+--------------+-------------¦
¦ ¦ 20741 ¦ 20740.48 ¦ 34.33560694 ¦ 0 ¦
+--------------------+----------------------+---------------------------------------¦
¦ Callback ¦ BUY order placed... ¦ ¦
+-----------------------------------------------------------------------------------+
------------------------------------------------------------------------------------------------
????õL TradingView Edition - 2022/10/30 15:00:13
------------------------------------------------------------------------------------------------
unhandledRejection Error: [DecimalError] Invalid argument: undefined
at new Decimal (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\decimal.js-light\decimal.js:1900:15)
at C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js
at PnlAnalysis._forEachOrdersOfKeys (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PnlAnalysis.getPnlStatisticData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js) Promise {
<rejected> Error: [DecimalError] Invalid argument: undefined
at new Decimal (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\decimal.js-light\decimal.js:1900:15)
at C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js
at PnlAnalysis._forEachOrdersOfKeys (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PnlAnalysis.getPnlStatisticData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
}
unhandledRejection Error: [DecimalError] Invalid argument: undefined
at new Decimal (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\decimal.js-light\decimal.js:1900:15)
at C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js
at PnlAnalysis._forEachOrdersOfKeys (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PnlAnalysis.getPnlStatisticData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js) Promise {
<rejected> Error: [DecimalError] Invalid argument: undefined
at new Decimal (C:\snapshot\enricoranucci\Documents\GitHub\Mio\node_modules\decimal.js-light\decimal.js:1900:15)
at C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js
at PnlAnalysis._forEachOrdersOfKeys (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async PnlAnalysis.getPnlStatisticData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
}