Skip to main content

What is the Backtester

This article explains what the Backtester can help you with when creating bots.

What is the Backtester

Cryptohopper's Backtester is a new feature that's currently available in beta. To enable beta features, go to Settings in your User profile and enable "BETA features". With this tool, you can backtest all of your template and bot settings, except for triggers and TradingView Alerts.

Using the Backtester can help you optimize your trading results. Even minor adjustments to your settings can have a significant impact on your profits, so taking the time to use the backtester can be very beneficial.

It's important to note, however, that past performance does not guarantee future results. Additionally, it's worth mentioning that backtests are not a complete representation of your bot's behavior in the past, as bots check sell settings more often, whereas the backtester only checks every minute. Moreover, the checking moments of your strategy may differ slightly.

How often you can test your bots and templates depends on the subscription plan you have. You can only test one bot or template at a time. If you start more tests, they'll wait in line. If you have several subscriptions, the number of tests you can do each day goes up by the same amount for each subscription you have.

  • Explorer subscriptions: 1 backtest per day
  • Adventure subscriptions: 5 backtests per day
  • Hero subscriptions: 10 backtests per day

If you happen to notice any bugs in the backtester, please let us know so we can work on improving the tool.

Explanation of the Backtester tabs

The following paragraphs explain the different tabs of the Backtester:

Overview

backtest1

The chart in the backtest overview displays the total value of your assets during the backtested period. Below the chart, you'll find information on the most traded currencies, the average profit per currency, and the average holding times of your currencies.

backtest1

The backtest also provides detailed information on your buy and sell triggers, including the total number of trades, start balance, end balance, and your profit or loss.

Trades

backtest1

By clicking on the Trades button, you can view all the trades from your backtest. This section includes information such as the currency, market, buy or sell action, date, amount, price, costs, fee, profit, and buy or sell trigger. Additionally, you can view the Technical Analysis values at the moment of buying or selling. It's important to note that trades based on signals or Marketplace strategies with hidden configurations will not display any values.

Above the trades, you will find several buttons:

  • Calendar: Use this button to select a specific period of the backtest.
  • CSV: Download all trades in a CSV file.
  • PDF: Download all trades in a PDF file.
  • Print: Print all trades.

Use the search feature to sort your trades based on any value shown in the trades. This can help you quickly find specific information on your trades.

Orders

backtest1

The bot may have open orders, positions, or shorts when the backtest is still running or after it has been completed.

Positions

backtest1

The bot may have open positions when the backtest is still running or after it has been completed.

Shorts

backtest1

Open shorts are shorts that remain open during or after a test. If you enable the "Use actual profit" feature, the bot will display and utilize real profits for calculating the shorting percentage profit and the trailing stop short. This implies that the percentage profit of your short will be calculated in relation to the buying price, rather than the amount saved through shorting.

Due to an issue, we’re still looking into shorting for the backtest.

Assets

backtest1

During or after a backtest, you can check the assets that you still own. The "Balance" displays the value of the assets in the currency you're trading, while the "Reserved assets" represent the assets that are still in open orders.

Your quote currency assets can provide an indication of how much of your funds are being used for trading. If you wish to increase the amount of your quote currency invested at any given time, you can adjust the buy amounts in your Base config and start a new backtest.

You can download your asset data in CSV or PDF format and even print them out for your convenience.

Notes

backtest1

To enhance your backtest results, you can leave notes. These notes can provide valuable insights and help you keep track of the changes you've made to your strategy.

Log

backtest1

Just like the Bot Output on your Dashboard, you can review everything your backtest has accomplished. The backtest checks your strategy at regular intervals of 2, 5, or 10 minutes, depending on the frequency you chose when initiating the backtest. Additionally, the prices and other settings are verified every minute.

We display a maximum of 500 logs. If you wish to view more, please adjust your date range.

What to consider

  • When you start a backtest at 2 PM, regardless of your time zone, you will get a new backtest after 24 hours. This applies to each backtest separately (when having more than 1 backtest per day).
  • When backtesting very illiquid trading pairs (low trading volumes), you profit and losses can become extreme as the backtest doesn't take into account the trades made on the exchange.

Was this article helpful?

Start trading with Cryptohopper for free!

Free to use – no credit card required

Let's get started
New apps coming soon!