GUNBOT: The automatic profit generator > Technical Support & Development

gunbot 24.3.2 PNL

(1/2) > >>

nyclow:
Hi all

with the new version 24.3.2, pnl analysis no longer works, and when I choose the contract, I have this message (with version 24.2 no problem though)


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 PnlAnalysis.getPnlDashboardData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
    at runMicrotasks(<anonymous>)
    at processTicksAndRejections(internal/process/task_queues.js:97:5) 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 PnlAnalysis.getPnlDashboardData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
      at runMicrotasks(<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
}
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 PnlAnalysis.getPnlDashboardData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
    at runMicrotasks(<anonymous>)
    at processTicksAndRejections(internal/process/task_queues.js:97:5) 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 PnlAnalysis.getPnlDashboardData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
      at runMicrotasks(<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
}
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 PnlAnalysis.getPnlDashboardData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
    at runMicrotasks(<anonymous>)
    at processTicksAndRejections(internal/process/task_queues.js:97:5) 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 PnlAnalysis.getPnlDashboardData (C:\snapshot\enricoranucci\Documents\GitHub\Mio\gui\classes\pnl-analysis\index.js)
      at runMicrotasks(<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)
}

Aitor:
Try running latest version, v24.6.7:

https://gunbot.shop/gunbot-v24-6-7-download-and-changelogs/

StarterUser:
I just went from 24.3.2 to 24.6.7 and got this error.


--- Code: ---unhandledRejection Error: [DecimalError] Invalid argument: undefined

--- End code ---

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: ---+-----------------------------------------------------------------------------------+
¦ ?????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)
}

--- End code ---

zeldarpi:

--- Quote from: timothyferriss on May 20, 2023, 09:55:33 AM ---
--- Quote from: Aitor on October 08, 2022, 05:05:14 PM ---Try running latest version, v24.6.7:

https://gunbot.shop/gunbot-v24-6-7-download-and-changelogs/ rankdle

--- End quote ---
Perhaps a recent update fixed a bug that was producing this error.

--- End quote ---
Gunbot 24.3.2 PNL is an interesting topic in the world of cryptocurrency trading. Gunbot is a popular trading bot that is designed to automate trading strategies in various cryptocurrency markets. PNL, which stands for Profit and Loss, refers to the measurement of a trader's performance by calculating the profit or loss generated from their trades.

lunadam:

--- Quote from: zeldarpi on June 17, 2023, 03:20:38 AM ---
--- Quote from: timothyferriss on May 20, 2023, 09:55:33 AM ---
--- Quote from: Aitor on October 08, 2022, 05:05:14 PM ---Try running latest version, v24.6.7:

https://gunbot.shop/gunbot-v24-6-7-download-and-changelogs/ suika game

--- End quote ---
Perhaps a recent update fixed a bug that was producing this error.

--- End quote ---
Gunbot 24.3.2 PNL is an interesting topic in the world of cryptocurrency trading. Gunbot is a popular trading bot that is designed to automate trading strategies in various cryptocurrency markets. PNL, which stands for Profit and Loss, refers to the measurement of a trader's performance by calculating the profit or loss generated from their trades.

--- End quote ---
you are absolutely right

Navigation

[0] Message Index

[#] Next page

Go to full version