hummingbot / dashboard

Application that helps you create, backtest, deploy, and manage Hummingbot instances
Apache License 2.0
162 stars 98 forks source link

Market Activity Chart Not Displayed in Paper Trading Mode #102

Closed pupplecat closed 7 months ago

pupplecat commented 7 months ago

Describe the bug

When using Hummingbot in paper trading mode (e.g., binance_PaperTrade), the Market Activity and Intraday Performance charts are not displayed in the Hummingbot Dashboard's Strategy Performance page.

Steps to reproduce bug

  1. Run Hummingbot with paper trade configuration (e.g., binance_PaperTrade).
  2. Upload the Hummingbot SQLite Database file to the Strategy Performance page of the Dashboard.
  3. Select a strategy for analysis.

Observed Behavior

  1. The exchange name displayed in the table is binance instead of binance_PaperTrade.
  2. The Market Activity and Intraday Performance charts are blank.
pupplecat commented 7 months ago

Potential Solutions for Discussion

Option 1: Retain _papertrade in Market Name When Loading Data from Database

Option 2: Remove _papertrade While Filtering Market Activity Data

tomasgaudino commented 7 months ago

PR Available here: https://github.com/hummingbot/dashboard/pull/103

Option 1 was the best solution since it doesn't introduce possible market missmatching in candlestick. Thanks to the given database, I could also found and fixed another potential bug.

Thanks for taking this time!