After discussions with the Hummingbot community in the past few weekly developer calls, there appears to be a consensus supporting a improvement bounty to enable orchestration, enabling Hummingbot instances to be controlled by a third party interfaces, respond to external events, etc would be highly beneficial to everyone.
See https://www.notion.so/hummingbot-foundation/Bot-Orchestration-fcac18bd90d74b0ebca9b260617522f0 for a requirements doc for this project and past discussions.
Community members klpanagi and TheHolyRoger have existing work that can be hardened and used for this:
- TheHolyRoger has submitted a remote commands execution module PR along with an external TradingView web server
- klpagani has forked Hummingbot and built a broker-based communication interface
Therefore, the Foundation proposes to fund a collaborative effort between the two of them to work together to deliver the Bot Orchestration project in phases.
Since this is a substantial amount of work with a lot of value to the community, we believe that 2,000,000 HBOT, out of the 15,000,000 Dev Grant Budget for Epoch 2, should be allocated to this project, with 1M paid upon completion of each phase (i.e. when the Foundation takes ownership of a working repo containing the changes).
Phase 1
Build an interface to execute remote commands to and from Hummingbot instances.
Commands covered:
- Start
- Stop
- Import
- Config strategy
- Balance
- Change balance limits
All this commands can be called using an unified web application that also receives the following information from the bots:
- Heartbeat - Status
- PNL - History
Get feedback on community on user interface and make corresponding changes
- Information that they want to see from the bots
- Extra commands to implement
The configuration of the broker in the Client should be in the conf_client.yml
Total HBOT allocation for completion: 1,000,000 HBOT
Phase 2
Create an interface compatible with Phase I that let the strategy listen to multiple topics to trigger internal events or store data inside the class.
With this solution the user can plug in:
- Signals from third parties, including TradingView
- Data to be processed in the strategy - Like having a machine learning model that sends predictions
Total HBOT allocation for completion: 1,000,000 HBOT
Future Phases
Afterwards, the Foundation foresees allocate future dev grants for additional Phases of work, which are listed in the requirements doc.