There was a problem loading the comments.

The simulation mode of a RevenueBot bot (BACKTESTING).

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

The simulation mode of a RevenueBot bot (BACKTESTING).
In order to make better profits and reduce the risks of trading with a RevenueBot bot, it is important to find the correct bot configuration. In order to find the optimum configuration, we created a simulation mode of the bot’s operation so that we could observe how the bot would have traded within a period covering the last 60 days for any of the trading pairs. Try different configurations of the bot and see how it traded on real price charts in the past with a virtual deposit.


Creating a bot with simulation mode.
In order to enable the simulation mode of the bot’s operation you need to select the checkbox "Simulate bot trading behaviour (backtest)" during its creation/editing; aside from that, the creation of a bot with simulation mode is not different from the creation of a normal bot. For convenience, a bot with simulation mode enabled is marked in the list of all bots by a separate background.


6143b5ea2549e6e670ed16b2a4b51a051dadfb6a10f21b490cd26a1b81441814ac39e4374b383c91?t=d9411315e655fe247d0b682eafa16a9e


Controlling the bot with simulation mode.
Starting and stopping a bot’s simulation mode is done in the same way as starting a normal bot.
By default, bot will stop itself when the simulation is completed (all data for the past 60 days have been processed).


The statistics of the bot's work with the simulation mode.
The statistics of the bot with the simulation mode are available in the same place as the statistics of the normal bot. You need to click on the name of the desired bot in the Statistics menu, and the statistics of the bot's work cycles will open.
Important: The correct time for generating the bot’s statistics (over the past 60 days) should be specified here.
Furthermore, note that the complete processing of the simulation of a bot’s work within a period covering the past 60 days usually takes 5 to 15 minutes. If the bot is set to automatically switch the trading pair based on the volatility analyzer, it can take up to 1 hour to complete the simulation of the bot operation.
Until the processing of data for all of the past 60 days is complete, the bot in simulation mode will have "status: Started", "state: Simulation". It is not necessary to wait for the end of the simulation to get acquainted with the results of the work of the bot in simulation mode.
The first completed bot cycles will appear some time after the bot’s launch, and more will be added to the list as the data is processed.
If the bot has gone to "Status: Off", "State: Normal", then all the data has been fully processed and you can now evaluate the entirety of the bot’s operation in simulation mode. All the cycles that the bot would have performed will be available for inspection.
Bot cycles that last more than 24 hours are marked in the column "Long cycle" with the value "Yes", which allows you to see if there are any inaction during the bot operation and to adjust settings accordingly in order to make the bot trade more efficiently.
As a result, by choosing different settings and running them on real graphics that cover a certain period set in the past, it is possible to find the optimal settings for the actual work of the bot.
Note that the bot’s results in simulation mode can be inaccurate and differ from the real work of the bot because:

  • The moment when the bot starts is important;
  • Some of the bot’s delay settings don’t work in simulation mode.

Share via

Related Articles

© RevenueBot