MoonBot for BinanceTrusted Management High-Frequency trading via UDP port
Original Trust Management tool was using Telegram channels to connect the main bot with slave bots. This approach is good enough for mid-term signals when delays of 1-3 seconds mean nothing. However for high-speed trading and scalping delays are critical.
Taking this into account we developed the new extra fast protocol for trust management. (Available only in PRO version).
Test results show that delays can be as small as 100ms and even less! In some cases, slave bots can be even faster than the master bot, if they use fast VPS close to exchange’s servers location (i.e. Tokyo for Binance)
Factors to achieve high speed:
The list of all available commands and basic description of how trust management works you will find here. Please read this article first before proceeding to the next chapter.
1) First of all, slave bots must have static IP and open UDP port. The IP address and the port you tell your manager so that he adds you to send list.
1A) How to open an UDP port: Each bot should use a unique port number, which you specify in the “Settings – Advanced” tab. The default is port 1999.
Here are steps to open a port on Windows Server 2016: open Windows Firewall
Create a new rule to allow UDP packets on the desired port:
After you have created the rule, you may open its properties and allow inbound connections from determinate IPs (belonging to your managers).(Properties – Scope – Remote IPs).
1B) How to setup the bot: Create a new strategy with SignalType = “UDP”. Set AcceptCommands = YES. Leave ChannelKey empty.
Master bot may send encrypted command (see below), in this case, set OnlyEncrypted = YES and ask your manager to give you key files to decrypt signals.
3) How to setup master bot
Right-click to the Share button:
You can send encrypted signals (preferred):
Also note: