hummingbot / brokers

This repository contains different brokers that can be used to communicate multiple instances of Hummingbot, or send information to the bots.
Apache License 2.0
22 stars 13 forks source link

Sending messages on a MQTT topic from a Script Strategy #7

Open capponMatteo opened 1 year ago

capponMatteo commented 1 year ago

Hi everyone, pretty much as stated in the title, this is not really an issue but more of a request regarding something I'm struggling to figure out 😁

I know I can listen on topics and events ( thanks to the ExternalTopicFactory and ExternalEventFactory ) but I'd like to also be able to send messages from my Strategy ( without having to do some weird hacks using the hbot/{instance_id}/notify topic ).

Does anyone have any idea whether there's a nice way of doing this using what's provided by Hummingbot or do I have to implement my own solution? 😁