cardosofede / hummingbot-deploy

This repository will help you deploying Hummingbot instances using the Dashboard, Backend API and the Broker
Apache License 2.0
31 stars 13 forks source link

KeyError: 'results' on backtesting #20

Closed ballenaeth closed 5 months ago

ballenaeth commented 5 months ago

In a fresh docker-compose install, while I'm trying to run a backtest creating any configuration, it seems to be returning this error:

KeyError: 'results' Traceback: File "/opt/conda/envs/dashboard/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script exec(code, module.dict) File "/home/dashboard/frontend/pages/config/pmm_dynamic/app.py", line 72, in bt_results = backtesting_section(inputs, backend_api_client) File "/home/dashboard/frontend/components/backtesting.py", line 25, in backtesting_section backtesting_results = backend_api_client.run_backtesting( File "/home/dashboard/backend/services/backend_api_client.py", line 229, in run_backtesting "results": backtesting_results["results"]

CleanShot 2024-06-15 at 07 43 35

It happens setting "mexc" as connector.

cardosofede commented 5 months ago

@peterwilli solved this, the main problem is that MEXC does not have candles feed yet