pkweitai / hummingbotAI

Hummingbot AI enablement contributions from community
Other
3 stars 0 forks source link

[feature] Create a custom Hummingbot branch that allows trading without needing to start strategy #11

Open martinkou opened 2 weeks ago

martinkou commented 2 weeks ago

Why

The current version of open source Hummingbot requires a strategy to be created first, and all trading actions would be carried out by the strategy. This doesn't allow the kind of retail user trading use case described in the Hummingbot AI proposal.

To fix this, we should create a custom Hummingbot branch that allows for trading and status commands via MQTT, without needing importing a strategy.

What

martinkou commented 2 weeks ago

Created a fork on my side for this: https://github.com/martinkou/hummingbot

martinkou commented 1 week ago

I've created a feature branch from the open source Hummingbot at https://github.com/slash-bin/hummingbot/commits/feat/user_directed_trades for this purpose. There'll be two major components to this:

  1. The MQTT command controller logic, with the message schema;
  2. A UserDirectedTrade strategy, which automatically uses all available exchange connectors and interfaces with the MQTT controller.

For demo purpose, we'll package this into a Docker container that auto-creates and auto-launches a UserDirectedTrade strategy config. So once the user launches the demo Hummingbot, it'll be ready to accept user directed trading commands from MQTT.

I've started defining the MQTT messages and command controller logic last weekend. I'll be implementing the UserDirectedTrade strategy this week.

martinkou commented 1 week ago

Also... since the project will involve multiple repositories, and one of them (the scraper) will be private... I've created a new GitHub organization at https://github.com/slash-bin/ for collecting the different repositories.