Username: Password:

Author Topic: gunbot 24.3.2 PNL  (Read 163 times)

Offline nyclow

  • Rookie
  • *
  • Posts: 1
    • View Profile
gunbot 24.3.2 PNL
« on: June 25, 2022, 03:57:26 PM »
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)
}