Skip to content

[BUG REPORT] #630

@pointops

Description

@pointops

An error occurred

WORKER:ERROR [2026-05-24T08:53:56.387Z]     Internal Server Error: ERR_DATA_IS_NOT_FOUND_TO_CONVERT_CURRENCY    
  - METHOD_NAME: getWinLoss [PROTECTED]    
  - STATUS_CODE: 500    
  - STATUS_MESSAGE: Internal Server Error    
  - DATA: {
      "pubRequestParams": {
        "end": 1779612715653,
        "start": 1777020715653,
        "timeframe": "day",
        "isUnrealizedProfitExcluded": false
      },
      "bfxApiErrorMessage": null,
      "errorMetadata": null
    }    
  - STACK_TRACE CurrencyConversionDataFindingError: Internal Server Error: ERR_DATA_IS_NOT_FOUND_TO_CONVERT_CURRENCY
    at CurrencyConverter.getPrice (C:/Users/mirek/AppData/Local/Programs/bfx-report-electron/resources/app.asar/bfx-reports-framework/workers/loc.api/sync/currency.converter/index.js:1034:15)
    at async PositionsSnapshot._getCalculatedPositions (C:/Users/mirek/AppData/Local/Programs/bfx-report-electron/resources/app.asar/bfx-reports-framework/workers/loc.api/sync/positions.snapshot/index.js:250:30)
    at async PositionsSnapshot._getActivePositionsAtStart (C:/Users/mirek/AppData/Local/Programs/bfx-report-electron/resources/app.asar/bfx-reports-framework/workers/loc.api/sync/positions.snapshot/index.js:725:9)
    at async Promise.all (index 2)
    at async PositionsSnapshot.getPLSnapshot (C:/Users/mirek/AppData/Local/Programs/bfx-report-electron/resources/app.asar/bfx-reports-framework/workers/loc.api/sync/positions.snapshot/index.js:788:9)
    at async Promise.all (index 4)
    at async WinLoss.getDataToCalcWinLoss (C:/Users/mirek/AppData/Local/Programs/bfx-report-electron/resources/app.asar/bfx-reports-framework/workers/loc.api/sync/win.loss/index.js:326:9)
    at async WinLoss.getWinLoss (C:/Users/mirek/AppData/Local/Programs/bfx-report-electron/resources/app.asar/bfx-reports-framework/workers/loc.api/sync/win.loss/index.js:400:9)

Debug info
Version 4.45.0
Commit Hash 548e6bc
Commit Date 2026-05-18T10:52:51Z
Electron 40.10.0
Chrome 144.0.7559.236
Node.js 24.15.0
V8 14.4.258.32-electron.0
OS version Windows 11 Pro
OS release Windows_NT x64 10.0.26200
CPUs Intel(R) Core(TM) i5-8600 CPU @ 3.10GHz x 6
RAM 30.92GB (18.92GB free)
App RAM limit 4096Mb (14.37MB used)
Is BFX API Staging used No
Is AppImage used No
Main log
Worker errors
Worker exceptions

The issue was opened from the electron app

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions