Moon Streamer
Moon Streamer is a feature for real-time chart data transmission designed to eliminate lags and delays in chart data display.
This module is available to PRO version users after activation in the Moon Credits window. To open this window, go to the Settings -> Unlock tab and click Moon Credits, or click the Pro Version label in the lower-right corner of the main terminal window.
If lags occur on the exchange side, trading markers (crosses) may temporarily disappear from the chart in the Moonbot terminal. To solve this issue, a mechanism for accelerated transmission of market data from servers (VDS) located in Tokyo (Japan) to your computer has been implemented. This mode replaces the standard connection to the Binance exchange websocket. The feature can be enabled or disabled at any time, allowing you to return to the standard connection.
Data transmission is performed via the UDP protocol, which significantly reduces latency and decreases the amount of transmitted data.
⚠️ Attention! It is recommended to use Moon Streamer only for manual trading. When operating on a VDS with automated trading, this functionality is not required and may negatively affect terminal performance.
Note
-
When using your own server, Moon Streamer works for all spot and futures pairs; when using the Moonbot server, the functionality is available only for BTC, USDT, and BUSD pairs on the spot market, as well as for USDT futures;
-
When using mobile internet, the functionality may not work if the operator blocks UDP traffic;
You can use both a Moonbot server and set up your own server to transfer data. This is done in just two steps. According to the test results, one server can stably serve up to 30 users. If this amount is exceeded, data loss may occur.
You can open the Moon Streamer settings window via Menu → Moon Streamer, or left-click on the green connection indicator circle in the bottom-left corner of the main Moonbot window to open the Info window; at the bottom of this window, you will see the line: Moon Streamer OFF Settings, which indicates that the Moon Streamer feature is currently disabled.
Click on Settings and open the MoonStream window, which contains two configuration sections:
-
The Stream connection section contains settings for receiving data from our default server or your own..
-
The Use MoonStream connection checkbox
-
If the box is ticked, the Moon Streamer feature is enabled, data is transmitted from the server, and the status in the Info window changes from OFF to ON.
-
If the box is not ticked, the Moon Streamer feature is disabled, data is not transmitted from the server, the connection reverts to the standard WebSocket, and the status in the Info window changes from ON to OFF.
-
The Server field, where you enter the IP address of our default server or your own.
-
If you are using your own server or have received an IP address from another user, enter it in the Server field and click the button with the green arrows to connect.
-
If your computer is located in the Russian Federation and Moon Streamer is not working for Binance Spot (USDT) and Binance Futures, enter the IP address 23.111.111.103 in the Server field.
-
The button with the green arrows is used to connect to the server after entering its IP address in the Server field. When you do this, the text on the Your server IP button changes to the IP address of your connection.
-
The Your server IP button is used to connect to your server.
-
The Def button is used to connect to our default server. When you click it, the IP address of our default server will be automatically entered into the Server field.
-
Information section
-
If the Use MoonStream connection checkbox is ticked, the Moon Streamer functionality is enabled and the following technical information is displayed in this section:
Block: 206 Trades\sec: 1043 Users: 12
PacketLoss: 0.0% \ 0.0% Err: 0 Trades: 38 \ 157 -
If the Use MoonStream connection checkbox is not ticked, the Moon Streamer functionality is disabled and a status line is displayed in this area:
Status: Off
-
The Stream Server section contains settings for setting up your Moon Streamer server.
-
The Activate Server on this bot on port 2503 tick box activates the Moon Streamer server to distribute data to other terminals.
-
Information section
-
If the Activate Server on this bot on port 2503 checkbox is ticked, your Moon Streamer server is activated, data is transmitted to other terminals, and a status message stating Server is ready! appears.
-
If the Activate Server on this bot on port 2503 checkbox is not ticked, your Moon Streamer server is not activated, data is not being transmitted to other terminals, and the Server is ready! status message is not displayed.
-
The following technical information is displayed below:
Users: 0
PSize: 6 / 72 Comp.Rate: 20% S: 40
Setting up your own Moon Streamer server
To set up your own Moon Streamer server, follow these steps:
-
Set up a VPS in Tokyo (Japan) with specifications of at least 2 CPU cores and 2 GB of RAM;
-
Install three Moonbot terminals on the server: for BTC (spot), USDT (spot) and USDT (futures);
-
In each terminal, open Menu → System Settings, enable the VDS optimized mode option and restart the terminals;
-
Configure the incoming UDP ports in the range 2500–2503; the outgoing ports should remain open by default;
-
In the MoonStream window, in the Stream Server section, tick the Activate Server on this bot’ box for port 2503;
-
If the ports are configured correctly, the message Server ready! will appear in the information area, after which you can connect to the server using its IP address. The number of connected users (terminals) and other technical information will be displayed at the bottom of the window.