hummingbot / dashboard

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

Bug Report. When creating a strategy V1 spot_perpetual_arbitrage in a bot created via a dashboard. #119

Closed AlexeyBoiler closed 6 months ago

AlexeyBoiler commented 7 months ago

Describe the bug

My error

10:17:52 hummingbot_application MQTT Bridg e connected with success.

10:18:39 async_utils Unhandled error in background task:The module spot_perpetual_arbitrage does not contain any subclass of ScriptstrategyBase (See log file for stack trace dump)

appears in the bot created through the dashboard. When I create a strategy in an isolated bot, everything works. Perhaps the same error occurs in other strategies V1 in such bots.

Steps to reproduce

  1. Version 1.24 and 1.25
  2. Bot created through the dashboard
  3. strategy V1 spot_perpetual_arbitrage
  4. 02:15:19 async_utils Unhandled error in background task: The module spot_perpetual_arbitrage does not contain any subclass of Sc riptstrategyBase (See log file for stack trace dump)
  5. There is no such error in a bot created from scratch without a dashboard.

Release version

1.24 and 1.25

Type of installation

Source

Attach required files

No response

AlexeyBoiler commented 6 months ago

I previously sent the strategy to the scripts folder and that's why there was an error.