-
-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When checking github issues, found this behavior where the response from hummingbot-api's backtesting resulted to 200 OK but error on dashboard
KeyError: 'processed_data'
Traceback:
File "/home/dashboard/main.py", line 17, in <module>
main()
File "/home/dashboard/main.py", line 13, in main
pg.run()
File "/opt/conda/envs/dashboard/lib/python3.12/site-packages/streamlit/navigation/page.py", line 300, in run
exec(code, module.__dict__) # noqa: S102
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dashboard/frontend/pages/config/pmm_simple/app.py", line 30, in <module>
bt_results = backtesting_section(inputs, backend_api_client)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dashboard/frontend/components/backtesting.py", line 38, in backtesting_section
if len(backtesting_results["processed_data"]) == 0:
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
Steps to reproduce bug
- Setup humminbot/deploy using ./setup.sh
- Select PMM_simple and run backtest on hyperliquid HYPE-USDT or mexc MX-USDT
- Observed hummingbot-api logs and dashboard page
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working