hummingbot / dashboard

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

Bot orchestration - Run strategy does import config file but does not start #36

Closed rapcmia closed 11 months ago

rapcmia commented 1 year ago

When checking dashboard's bot orchestration feature, all is well for create and start client/broker containers however when trying to call a strategy file (tested on papertrade) it does import the config but does not start resulting to stuck stop command initiated even with importing or creating new strategy on the client instance.

Trigger Run strategy on dashboard, this shows on client instance: image

Tried to create or import another strategy file getting a prompt that The bot is already running - please run "stop" first but stuck on stop command initiated (screenshot shows attempt of sending multiple stop commands but no avail) image

Note: Observed that when you manually import and start the strategy on the client instance, the Get status and Stop strategy works. Even the Run strategy is able to call a different strategy file and managed to import then start ✅

Steps to reproduce:

  1. Setup dashboard and go to Bot orchestration
  2. Create client container then start broker. Refresh dashboard page
  3. On client container create a simple PMM papertrade for test
  4. On dashboard, Trigger Run strategy and use the strategy created
  5. Observe behavior
david-hummingbot commented 11 months ago

Tested on latest dashboard - bot is able to start config file for simple PMM papertrade strategy,