If you cancel an market stop on the MoonBot terminal chart, then the coin position will be cancelled and the unsold coins will remain on your balance.
Note that in order to be able to use a market stop, you should also set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
The function of tracking hovering positions does not work for Bittrex exchange, as there is no such functionality in the API of Bittrex exchange and therefore it is impossible to set a tracking bot for this exchange. Attention! The Bittrex exchange has ceased trading activity since 04.12.2023 due to its bankruptcy, so its support in the MoonBot terminal is no longer available.
If you use API keys that support white IP addresses, it is recommended to use permanent IP addresses. In this case you will be protected from such errors. In your case, in spot trading, if orders are not saved in the bot, you can use a backup from the bak folder of files like:
bak/BinanceUSDTOrders.backup-1
bak/BinanceUSDTOrders.backup-2
bak/BinanceUSDTOrders.backup-3
Files with orders with digits at the end 1, 2, 3 are written to the bak folder once every 8 hours with a recording coverage of 24 hours.
To restore an order file you need to close the MoonBot terminal, delete "empty" order files from the data folder (for example, for spot trading on USDT pair like BinanceUSDTOrders.backup, BinanceUSDTOrders.backup2, BinanceUSDTOrders. backup3) copy the appropriate file (either the most recent by date or, if the most recent one does not contain orders, the previous one, you can estimate the backup by the file size, the size of an empty file is 32 bytes) from the bak folder to the data folder and rename them according to the format of similar files in the data folder, for example:
bak\BinanceUSDTOrders.backup-1 -> data\BinanceUSDTOrders.backup
After replacing and renaming the orders file, start MoonBot terminal in administrator mode.
In addition, we recommend that you periodically save the MoonBot terminal folder to a separate archive folder at regular intervals so that you can restore data (report files, open trades, strategies, etc.) from this archive.
Reports on all transactions (open, closed, deleted) in the MoonBot terminal are stored in the data folder, in files like: Binance.db (for the spot market) or Binance Futures.db (for the futures market). In rare cases, if MoonBot terminal is closed unexpectedly, the file with reports may be empty. To restore it, you need to close the MoonBot terminal, then copy the backup of the reports file from the bak folder and the data folder and start MoonBot in administrator mode. In addition, we recommend that you periodically save the MoonBot terminal folder to a separate archive folder at a certain interval so that you can restore the data (report files, open trades, strategies, etc.) from this archive.
When the MoonBot terminal is turned off, you can add a line to the MoonBot.ini file with a new parameter HookRecalcInterval, whose value can be from 200 to 500 (measured in milliseconds) - this is the detector recalculation interval. By default HookRecalcInterval=500 milliseconds). This value affects the detection recalculation rate of the following strategies: MoonHook, Spread, EMA, Activity.
If your MoonBot terminal is located on a remote server without an explorer (core windows), then when you export reports in .csv and .xls format, they are saved to the terminal's Export folder without a file selection window.
Yes, you can, to do this, open the Settings-Hotkeys tab in MoonBot terminal and set the desired key combination in the "Cancel ALL buys" field (CTRL-DEL by default). This hotkey allows you to cancel all Buy and Pending orders on all coins at once.
The "Cancel ALL buys" hotkey is very convenient and is analogue to the "Cancel ALL BUYs" option in the orders menu on the main window of the MoonBot terminal. This hotkey allows you to immediately cancel all Buy (limit) and Pending orders on all coins.
If, for example, there is high volatility on a coin, you can click this hotkey to cancel all grids and orders, release the balance and trade on this active coin. In addition, if there is an abnormal situation with the exchange, you can also click on the hotkey to cancel all orders and temporarily stop trading to avoid abnormal situations.
Yes, you can, to do this, open the Settings-Hotkeys tab in MoonBot terminal and set the desired key combination in the "Cancel ALL buys" field (CTRL-DEL by default). This hotkey allows you to cancel all Buy and Pending orders on all coins at once.
The "Cancel ALL buys" hotkey is very convenient and is analogue to the "Cancel ALL BUYs" option in the orders menu on the main window of the MoonBot terminal. This hotkey allows you to immediately cancel all Buy (limit) and Pending orders on all coins.
If, for example, there is high volatility on a coin, you can click this hotkey to cancel all grids and orders, release the balance and trade on this active coin. In addition, if there is an abnormal situation with the exchange, you can also click on the hotkey to cancel all orders and temporarily stop trading to avoid abnormal situations.
Only certain buttons or combinations of buttons can be set in the hotkey field:
a) Function keys (F1, F2, F3...)
b) Combination of SHIFT / CTRL / ALT keys + number / letter.
The hotkey cannot be set separately for a "letter" - this is done on purpose so that when typing text you do not accidentally press a single "letter" key on the keyboard and an order would be unexpectedly placed on the chart.
For hotkeys you can also use some service buttons Caps Lock, Num Lock, Del, BkSp, arrow buttons, etc. But it is strictly not recommended to set hotkeys on them, because they participate in typing and keyboard control and can also lead to unplanned triggers in the bot.
In addition, it is necessary to make sure that combinations of hotkeys do not coincide with each other, so that there is no conflict of actions in the bot.
On the main MoonBot terminal window to the right of the BNB coin availability data is the SM (Stop Market) button, which is responsible for placing a Stop Market.
If you see a blue horizontal line on this button, it means that a manual strategy that can place a Stop Market will place a Sell order (without Stop Market) after buying a coin.
If you see a red down arrow on this button, it means that a manual strategy that can place a Stop Market will place a Sell order after buying a coin (without Sell order takeout line).
Please note that in order to be able to use Stop Market, you should set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
If the SM icon with a red arrow appears on the main window of the MoonBot terminal and you move the Stop Market line to the opposite trading cup (from the green zone to the red zone), the Stop Market line will disappear from the chart in the green trading cup zone and the Sell order line will appear instead in the red trading cup zone. If you move the Sell order line back to the green trading cup, it will disappear and instead of it the Stop Market line in the green trading cup will be set again.
Please note that in order to be able to use Stop Market, you should set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
Since Stop Market can only be set in MoonBot terminal using a manual strategy, it is up to the trader to decide when to close a position. This can be done manually by moving the Stop Market line to the opposite glass (from green to red), and the Sell order line will appear in the red glass, after crossing it the position will be closed.
Or you can press the SM button in the Take mode and move it to the "blue dash" position, then move the Take to the green glass and sell the position.
Or you can use a trailing stop in a manual strategy, which will follow the price upwards and as soon as the price reverses and starts to decline, then after crossing the trailing lines, the position will be closed automatically by Panic Sell.
You can also close a position by clicking on the Panic Sell button, which is located on the right side of the main terminal window or by using hotkeys that can be configured on the Settings-Hotkeys tab: Panic Sell (close all orders on a coin) or Panic Sell 1 order (close orders one by one, starting from the smallest number). These hotkeys work only if the coin is open full screen.
Please note that in order to be able to use Stop Market, you should set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
No, in the MoonBot terminal Stop Market does not work in emulator mode, but only in the mode of real orders placed on the Binance exchange.
Please note that in order to be able to use Stop Market, you should set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
In the MoonBot terminal on the main screen, click on the "Show Markets" button and open the "MarketsTable" window. In the lower part of this table, click "Manage Leverage" and in the opened additional configuration you will see the Config field (configuration lines), in which the desired position limits are written, under which the maximum possible leverage will be adjusted.
The format of the configuration line is: (number) (list of coins with comma or space or the word def).
The word def means to apply this limit to all markets preceded by the word def and not explicitly listed in the configuration string, and the number 0 means not to manage leverage.
Examples:
1) 10k def 30k BTC ETH (for BTC and ETH coins set the limit to 30000$, and for all other coins set the limit to 10000$)
2) 0 def 5k TRX LRC 10k ADA (for ADA coin set a limit of 10000$, for TRX and LRC coins set a limit of 5000$, and for all other coins do not set limits and do not manage shoulders).
After filling in the Config field and setting the associated ticks, click Apply to apply the changes to the settings.
On the main MoonBot terminal window, you can click on the "Show Spot trades\ OrderBook" button, which is located to the left of the "Funnel" button (Filters on charts) and open a window with additional parameters:
Show Spot Trades: show spot trades (shown paler than the current pair).
Show Spot Book: show spot trade book.
Show Mark Price: show the line of average coin price on all exchanges.
Show Liquidations: show crosses with traders' liquidations (yellow - liquidations of shorts, blue - liquidations of longs).
Show Open Interest: show Open Interest line (only on USDT-BTC).
Show Avg Price: show average price line, from which stopp loss is adjusted.
BTC pair: show spot trades on bitcoin pair, if this box is not ticked, then show on USDT pair (after ticking this box you should close the chart and then open it again).
Shift Spot Chart: combine charts and trading charts of spot and futures.
Show MinMax: show price minima and maxima.
Huge: increase the crosses of trades (there is a more advanced setting for the thickness of crosses User Interface-Pixel Size).
Show EMA: show hourly, minute and second EMAs.
Market Avg: show hourly, minute and second Mavg.
Spot Book Wight: XX%: slider to change the display of the spot book width.
On the spot terminal, some of these parameters are not displayed because they apply only to futures settings.
You can tick or uncheck the parameters you need and customise the display of charts and trading stacks as you see fit.
In MoonBot in the strategy settings on the Filters tab, there is a CustomEMA parameter in which the EMA, MIN, MAX, BTC formulas are written and it is included in the Extensions Package for AutoTrading https://moon-bot.com/en/pro-version/extension-pack/, you can read its more detailed description there as well. Please note that the EMA filter is excluded from the CheckAfterBuy check in all strategies except the MoonShot strategy.
Click the SM button on the main window of MoonBot terminal so that there is a red arrow on the icon of this button, in this case you will activate the Stop Market.
Next, in the strategy window create a manual strategy Manual and on its Sell order tab configure the parameters for setting the Stop Market: UseMarketStop=YES (use the stock stop) and MarketStopLevel=-1 (set the Stop Market to -1% of the coin's purchase price).
Then check that you have the Manual Strategy trading mode enabled: Menu-Manual Trading-Use Manual Strategy and on the main window of the MoonBot terminal, select the Manual strategy you configured earlier. Then open the chart of the desired coin and buy it, after that you will set the stock stop at -1% of the purchase price.
Please note that in order to be able to use Stop Market, you should set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
In this case, when buying a coin in the MoonBot terminal using a manual strategy with the parameters UseMarketStop=YES and MarketStopLevel=0, a take line (Sell order) will be placed, but you will still have the option to move this take line to the opposite stack with automatic replacement by the Stop Market line, as well as the reverse action: you can move the Stop Market line to the opposite stack and the take line will appear again.
Please note that in order to be able to use Stop Market, you should set the slider to the far right on the Settings-Advanced-System tab to "Log level: 5".
Activity strategy specific parameters:
MMTimeFrame=45
Timeframe for analysing identical orders, sec.
You can set values from 15 to 60 seconds.
MMOrderMin=100
Order search range, from this minimum order size in $.
The minimum value in this parameter is $100.
MMOrderMax=1000
The range of order search, up to this maximum order size in $.
MMOrderStep=1
Order grid step, in $
With these settings (these values are set by default), the analysis is performed on a period of 45 seconds (MMTimeFrame=45), which is automatically divided by the strategy into three equal intervals, in this case 15 seconds each (45/3=15sec) and at each interval all orders from the specified range from $100 (MMOrderMin=100) to $1000 (MMOrderMax=1000) are analysed and counted with the step of the orders grid of $1 (MMOrdersStep=1), according to these parameters the necessary "series" of orders is detected and in their presence the strategy Activity is detected.
If you have enabled the Activity strategy and ticked the box next to the Extended Debug Mode parameter on the Settings-Advanced-System tab, you can see a line on the coin chart with the parameters from the detection of this strategy. In your case, these parameters are deciphered as follows.
MM Detected: 16:51:27 Vol: 200 O: 32 [47, 24, 45] E: 29%
MM Detected: 16:51:27 is the time when the strategy Activity detected.
Vol: 200 is the volume (size) of the order in the series of approximately $200.
O: 32 - this is the number of orders in the series
[47, 24, 45] - this is how many orders of all sizes there were on each of the three 15-second intervals [15c=47orders, 15c=24orders, 15c=45orders]
E: 29% is the average ratio of the total number of orders to the number of orders in the series
After all comparisons, if the value of E satisfies the value for the detector, then the Activity strategy is triggered.
Take into account the fact that the Activity strategy does not implement a mechanism for determining the "sign" of an order and the strategy does not distinguish whether it was a buy (green) or sell (red) order. And in fact, the strategy's detection of the order "$200" can be in a series of both:
1) positive orders (green to buy): 200,200,200,200
2) negative orders (red to buy): -200,-200,-200,-200
3) mixed orders (both green and red): 200,-200,200,-200
(*signs are arranged conventionally to make the explanation clearer).
That is, the Activity strategy can detect a series of green orders that may lead to a price increase, it can detect red orders that may lead to a price decrease, and it can detect mixed orders that may cause the price to stay in the same place.
Note that if the coin is "heavy" with dense stacks, a series of orders of $100-200 will not lead to a rise or fall in price, but we can be guided by the behaviour of bots, which in the background start small frequent buying or selling of coins with the same orders, which may signal their interest in the coin. If the coin is "medium heavy" with more rarefied stacks, then a series of green orders of 20 pieces, e.g. $20000 each, totalling $400000, can significantly push the price up and vice versa, a series of large sell orders can cause the price to fall.
Therefore, it is recommended to create several Activity strategies with different time frames and different order ranges (narrower):
Activity1: $100...$300,
Activity2: $500...$700,
Activity3: $1000...$1300,
Activity4: $10000...$15000
, etc.
And each strategy can be used for different scenarios: the start of the bot, manipulations of traders and so on.
In addition to the fact that the Activity strategy will be able to recognise a series of orders of the same size, you will need additional filter settings (deltas, volumes, EMA) to confirm the growth or fall of the price and in which direction you should open a position.
Activity strategy can also be recommended as a detector for manual trading or as a Master strategy, which will work together with another Slave strategy, which in turn will confirm the entry into a deal and place buy orders.
The Binance Futures exchange performs an automatic funding calculation every 8 hours - at 00:00, 08:00 and 16:00 UTC.
But there are no "fanding" parameters in the strategy settings that can stop trading on strategies.
Therefore, in the current implementation of MoonBot terminal you need to use the WorkingTime parameter in the filter section of strategy settings.
But since you can enter only one working period in it, you will need to set up 3 Master strategies with different WorkingTime intervals, which in due time will give a trigger key to stop all strategies during the fanding period (to use triggers you need to purchase and activate the additional paid module "Extension Pack for Autotrading" https://moon-bot.com/ru/pro-version/extension-pack/).
Strategy1: WorkingTime=03:00-03:01
Strategy2: WorkingTime=11:00-11:01
Strategy3: WorkingTime=19:00-19:01
That is, you should set the time to 00:00, 08:00 and 16:00 UTC + X hours based on your time zone and add a minute interval.
On the Buy condition tab of the strategy settings there is the buyPriceLastTrade parameter, if it is ticked and buyPriceLastTrade=YES, then the price of the last trade-trade will be used to calculate the buy price. If the tick is not checked and buyPriceLastTrade=NO, then the last ASK price will be used.
Attention! The buyPriceLastTrade parameter is absent in the following strategies: MoonShot, UDP, Manual, Spread, MoonHook, as it is either not reasonable or the strategy has its own mechanics for calculating the Buy order.
In order for the strategy in the MoonBot terminal to place a Buy order not from the ASK price, but from the last trade of the cross and within 30 seconds, you need to set two parameters on the Buy conditions tab of the strategy settings as follows: buyPriceLastTrade=YES and Use30SecOldASK=YES.
Attention! The buyPriceLastTrade parameter is absent in the following strategies: MoonShot, UDP, Manual, Spread, MoonHook, as it is either not reasonable or the strategy has its own mechanics for calculating the Buy order.
In the MoonBot terminal, on the Filters tab of the strategy settings, there is a parameter called BinancePriceBug (default 0.5% for futures, default 1.0% for spot): the price lag percentage at which trading in this strategy should be stopped.
If this filter is triggered, a 30 second penalty is activated on the strategy, so new orders for this strategy will not be placed on all coins for at least 30 seconds or more if the price lag does not go down.
For clarity, the current calculated price lag value (PriceLag line) is displayed in the Info window, which is opened by clicking on the traffic light icon (green or orange circle, to the left of the Ping value) in the lower left corner of the MoonBot terminal information bar.
How the price lag is calculated: the price of the "knot" on the brown price line (for the light theme) is compared with the trades for the last 10 seconds. The smallest discrepancy is taken for each market, then the largest discrepancy is taken for all markets.
That is, the price lag is the largest across all markets of the closest distances between the crosses and the price line.
Usually the values of BinancePriceBug=0.5% (for futures) and BinancePriceBug=1.0% (for spot) should be enough in the normal operation of the exchange and in this case there are almost no false positives and stops of strategies, and the real price lag, if it happens, then at large values.
There are traders who want to protect themselves when lagging the price on the Binance exchange and we will recommend them to leave the default values. But some riskier traders are not satisfied with penalties after stopping the strategy, when it is possible to buy back the asset at a more interesting price and they set BinancePriceBug to large values and do not stop trading even with significant lags of the exchange.
The AutoSplitBuy parameter on the Multiple Orders tab is only available in Manual strategies and it is only used when the OrdersCount=1.
If AutoSplitBuy=YES, it will split the Buy order in case the initial placed size exceeds the maximum limit for a single order.
The maximum value of a single order on different coins may differ and can be viewed on the main window of the MoonBot terminal on the right control panel (value "Max:").
Other strategies do not have this parameter because of the possibility of uncontrolled banning by the exchange.
You can use the "Share" button to send messages to your Telegram channel or group.
To do this, first open the chart of any coin and click the "Share" button on the right side of the main window of the MoonBot terminal to open the "Share market" settings window.
1) Tick "Don't show this screen next time (you can still open it by right-clicking on the "Share" button)".
*When this checkbox is checked, the "Share market" window will not be opened by left-clicking on the "Share" button, but the "Share" command will be executed, and the "Share market" window will now be opened by right-clicking on the "Share" button.
2) Tick the "I'd like to post signals to my own channel automatically" box.
3) Enter the bot token from the bot obtained from @BotFather.
4) Enter the channel name in the "My channel name" field:
a) if the channel is open, you must enter the channel name.
b) if the channel is closed, you need to enter its id.
To find out the id of the channel, you can write any message to your channel, which is listening to your MoonBot terminal (on the Settigs-Telegram tab), for example, the command "BTCUSDT BUY" and see this message in the log file in the folder logs\LOG_ADD_2023-XX-XX.log, it will contain the id of the channel or use the @username_to_id_bot: use the search bar in Telegram to find the @username_to_id_bot and launch it (the button "Launch").
Then click on the "Channel" button, select your channel from the list, from which you want to know the id and confirm the action.
Then look in the Telegram bot @username_to_id_bot information "Chat id: -10017ХХХХХХХХХХ26" and copy this id. The id through the bot and through the ADD log will be different:
Chat id: -10017XXXXXXXXXXX26 (this is how the id from @username_to_id_bot looks like)
id:17XXXXXXXXX26 (this is the id from the MoonBot terminal's ADD log without the "-100" prefix).
And you can enter in the field "My channel name" as such id "-10017XXXXXXXXX26", or you can discard "-100" and enter such id "17XXXXXXXXX26" in both cases everything will work.
5) Tick "Send only share signals".
6) Click the "Test" button to check if messages are being sent to your channel. If a message with time appears in the channel, everything is set up correctly.
Then you can close the "Share market" window and open the chart of any coin, for example PEPE and press the "Share" button. After that, a record of the following type will appear in your channel:
#PEPE delta: -0.2% flat
UserXXXXX @ RatingXXXX.
With these messages you can notify all subscribers to your channel that this coin is worthy of attention.
But you can additionally switch on the "I'd like to post Trust Management signals via UDP" checkbox and tick the necessary checkboxes for sending commands. Then your actions (buy, sell, etc.) will be broadcast to the Telegram channel and can be used by other (slave) bots that follow the commands in your channel.
In addition, you can subscribe the same bot to this channel and send messages to it using the "Share" button, which will then be read by your MoonBot terminal and trigger various telegram strategies that perform different functions: buy, sell, trigger strategies, reset trigger keys, and other actions. Similar actions can be done with other terminals, by pressing the "Share" button in one terminal, you can stop trading on all your terminals, remove unrealised Buy orders in them and quickly free up the balance for a more interesting coin, launch the necessary strategies and other actions.
In order to receive in Telegram information about deals in text form and screenshots with deals, you need to do the following steps:
=========
First, you need to log in to @BotFather (https://t.me/BotFather).
Press /newbot
Alright, a new bot. How are we going to call it? Please choose a name for your bot.
CHOOSENAME.
Good. Now let's choose a username for your bot. It must end in bot. Like this, for example: TetrisBot or tetris_bot.
CHOOSENAME_bot (choose a unique username for your bot, if the chosen name already exists, try again and choose another name).
Done! Congratulations on your new bot. You will find it at t. me/CHOOSENAME_bot.
You can now add a description, about section and profile picture for your bot, see /help for a list of commands.
By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it.
Just make sure the bot is fully operational before you do this.
Use this token to access the HTTP API:
1111111111:SdDDSFSDfsdfkdf_SDFdfsdfsdfsdfsdf_sdsdfds
(this will be the bot token from @BotFather to access the API).
Keep your token secure and store it safely, it can be used by anyone to control your bot.
For a description of the Bot API, see this page: https://core.telegram.org/bots/api
=========
- Next, you need to create your group in Telegram and add one user to it (without adding a user, Telegram does not allow you to create a group).
- Search for your bot created via @BotFather t. me/CHOOSENAME_bot and add it to the group.
- Go to the Administrators section in the group and add this bot as an administrator.
- Go into his admin permissions and enable all permissions for him (the bars should be blue).
=========
Then go into the MoonBot terminal and open the Settings-Advanced-Remote tab:
1) Give a name to the terminal in the field This bot name: NAMEBOT (write your own terminal name to understand what bot sends deals and screens, the bot name will be changed after restarting the terminal in administrator mode).
2) Tick "I have my own bot ID" and in the field below insert the bot token received from @BotFather.
1111111111:SdDDSFSDfsdfkdf_SDFdfsdfsdfsdfsdf_sdsdfds
3) Tick the "Send ScreenShots" checkbox. Also optionally tick "Send to public group".
4) Select the restrictions of your conditions for sending screenshots:
a) "If Profit $ > 1"
b) "or profit % > 1"
c) "or hourly profit $ > 50"
These are the minimum possible default values and you can set them to the values you need.
5) Set Time Scale,% 100 (default) and Price Scale,% 0 (default).
6) Click the Generate PIN code button.
7) In the field below the inscription "Type this PIN code in your channel" you will see the PIN code that you need to copy to the buffer.
8) Open your previously created group, paste the PIN code into the message and send it to the group.
9) If everything is done correctly, you will get a reply in the Telegram group:
NAMEBOT (name of your bot): Remote chat approved
ID=1111111111 name: NAMEBOT
Hi mate!
(and the second message in the group will be a message with available commands)
10) Give in the group command: talk (enable bot notifications in chat about closed deals).
11) For the test buy and sell a coin and the text message in this case will come to Telegram group in any case (at any transaction plus or minus and with any amount in $), and the screenshot comes only if the conditions for sending screenshots on the tab Settings-Advanced-Remote.
The following symbols are used in the trust management commands for the MoonBot terminal:
Coin - coin name;
Price - price of the coin, can be set in absolute values or in per cent;
X - % of the order size from the whole deposit;
"< >" - angle brackets for mandatory parameter,
[ ] - square brackets for optional parameter.
How to configure command processing (slave bot):
In order for the MoonBot Slave terminal reading your controlling Telegram channel to accept and execute remote control commands, you need to create a Telegram strategy for this channel and set AcceptCommands=YES on the Main tab.
Yes, you can. MoonBot terminal control commands via Telegram can be specified with the prefix botname:name, in this case only the terminal with the specified name will accept the command, and other terminals will have a record in the log that the command is ignored.
For example, if you send the command "botname:MOONBOT1 STOP" to terminal MOONBOT1, it will execute this command, but other terminals will not execute the command and their logs will have a record like this (for example, below is the line in the log for terminal MOONBOT2):
Remote command for other bot received: "botname:MOONBOT1 STOP" (this bot name: MOONBOT2).
You can put the terminal address either before or after the main command and the command will be executed:
"botname:MOONBOT1 STOP" or "STOP botname:MOONBOT1"
In this way you can clone terminals with the same strategy names and folders, but you can only change parameters or control functionality of a terminal with a specific name.
If you need to buy in the MoonBot terminal on a LONG signal in Telegram to buy in SHORT and vice versa without using the triggers functionality, then you need to write opposite keywords in the Settings-AutoBuy tab, i.e. in the "Keywords (comma separated) in Long signal" field write the word SHORT, and in the "Keywords (comma separated) in Short signal" field write the word LONG.
Then we need to create two Telegram strategies:
1) The first strategy "TG-LONG->SHORT" will be with auto-buy on keyword LONG (ChannelKey=LONG), which, for example, on the Telegram signal #BTCUSDT LONG will place an order in SHORT, because the keyword "LONG" was written in the short field on the Settings-AutoBuy tab.
2) The second strategy "TG-SHORT->LONG" will be with auto-buy on the SHORT keyword (ChannelKey=SHORT), which, for example, on the #BTCUSDT SHORT telegram signal will place an order in LONG, as the keyword "SHORT" was written in the long field on the Settings-AutoBuy tab.
If you need to buy a LONG signal in the MoonBot terminal to buy a SHORT signal in Telegram and vice versa using the triggers functionality, then you need to enter the appropriate keywords in the Settings-AutoBuy tab, i.e. write the word LONG in the "Keywords (comma separated) in Long signal" field and the word SHORT in the "Keywords (comma separated) in Short signal" field.
Then we need to create two pairs of strategies Telegram (Master) and EMA (Slave):
1) Telegram strategy "TG-LONG-Trigger" (Master) without autopurchase, for example, on the signal #BTCUSDT LONG by the keyword LONG will give a trigger to start the strategy "EMA-SHORT" (Slave) with autopurchase, which will place an order in SHORT.
2) Telegram strategy "TG-SHORT-Trigger" (Master) without auto-buy, for example, on the signal #BTCUSDT SHORT by the keyword SHORT will give a trigger to start the strategy "EMA-LONG" (Slave) with auto-buy, which will place an order in LONG.
UDP Init failed: Could not bind socket. Address and port are already in use. Network functions won't work, sorry" in the MoonBot terminal log occurs when you run multiple copies of the MoonBot terminal with the same port number.
To make this disappear, in each MoonBot terminal, add its unique port in the "Listen UPD port:" field at the Settings - Advanced - Remote tab.
for MoonBot1: 1999
for MoonBot2: 1998
for MoonBot3: 1997
...
and so on.
There are several reasons why a signature may be invalid:
- The secret key is not set
- The secret key does not match the API key
- The parameter passed to the server has no value.
The error /api/v3/order?orderId=×tamp=xxxxx&signature=xxxxx can be as follows
- The timestamp and signature (in this order) are not specified as the last parameters
/sapi/v1/sub-account/status?email=xxx&recvWindow=10000×tamp=xxx&signature=xxx
- The signature is signed with a different Hash algorithm, it should be SHA256
- One user had such an error due to failure of hash API keys in memory in BIOS overclocking mode. In this case it helped to enable the "AI OverClocking" item in ASUS Armoury Crate utility and restart the computer.
To fix it, we recommend creating a new API key from your account and re-registering it in the MoonBot terminal.
For additional advice, please contact the MoonBot Configuration Telegram group at https://t.me/MoonBotSettings.
Download the archive with the latest test version of the MoonBot terminal to your computer.
Close your MoonBot PRO terminal and make a copy of the folder where it is installed.
Open the folder with a copy of the terminal and move the 4 files from the previously downloaded archive with a test copy (replacing them in the folder).
Important!
1) Use the test versions of the MoonBot terminal carefully, test the new features both in emulator mode and in real mode, but using a small order. Keep in mind that there may be bugs in the test versions, which should be reported to the testers or, if you are a tester, directly to the developers, attaching a detailed description, short videos, screenshots and logs.
2) Your help in testing new test versions of the MoonBot terminal will help make it better and release more new functionality useful for everyone.
In order to be able to update your MoonBot terminal to test versions using the Telegram command, you need to do the following:
a) Make sure that your MoonBot test terminal is connected to Telegram and accepts control commands from it.
b) On the Settings - Advanced - System tab of the MoonBot test terminal, tick the Accept beta versions checkbox so that the terminal accepts the Telegram command to update and install the test version.
c) You need to send a command from Telegram to the MoonBot test terminal, for example, for the test version "MoonBot-N1" the Telegram command would be as follows: InstallTestVersion MoonBot-N1 and the terminal that accepted this command and that has the Accept beta versions ticked will start automatic update with terminal reboot.
If, for example, you have 2 test terminals MB-TEST1 and MB-TEST2 running, and both of them have the Accept beta versions checkbox enabled, then when you send a command to a specific bot like: botname:MB-TEST1 InstallTestVersion MoonBot-N1, only MB-TEST1 will be updated to this test version, while MB-TEST2 will not be updated, even though MB-TEST2 also has the Accept beta versions checkbox enabled.
If you send the generic command: InstallTestVersion MoonBot-N1, all terminals with the Accept beta versions checkbox installed will be updated.
Terminals that do not have the Accept beta versions checkbox installed will not be updated by either the personal or general command.