Gainium Logo
  • Home
  • Pricing
  • Try now
  • Academy
  • More...

Backtesting is the process of testing a trading strategy back in time to see how it would have performed on historical data, and to find any potential improvements that could be made.

With Ganium you can backtest your bot configuration right from the bot creation page, so you can get a sense for past performance. This way you can make the necessary adjustments and and deploy your bot when you are satisfied with the backtesting results.

Backtesting considerations

You should know that there are pros and cons to using backtesting. 

  1. Past results are not indicative of future results. Just because a strategy performed well over a period of time it doesn't mean that it will continue to do so in the future. Markets are dynamic and the conditions may change at any time.
  2. Backtesting tend to give better performance than real trading. This is because there are certain things the backtest will not be able to emulate, as they are related to the exchange itself. For example, when trading volume spikes over a short time, exchanges may not be able to fill your order. 
  3. Backtesting software uses ohlc candles to backtest, but this can be problematic because it does not take into account the order book and how different orders would have been filled at different prices. The greater the time-frame, the greater chance that innacuracy could happen.

Backtesting will never be able to perfectly replicate real-world trading conditions, so there is always a risk that your strategy may not perform as well in the future as it did in the past. With that said, backtesting can still be a valuable tool if used correctly. Backtesting can help you to improve and optimize your trading strategy, and it can give you confidence in your strategy before putting it into use with real money. 

Moreover, while sometimes backtesting can give better than real trading results, it does not give worse results than real trading. This means that if a strategy have poor performance on a backtest, it would have definitely have performed poorly in real trading. Therefore, backtesting is a good first-pass filter, helping you avoid using under-performing strategies.

When backtesting a crypto trading bot, there are a few things to keep in mind:

  • Make sure to span a wide enough period encompassing different market conditions.
  • Be aware of backtesting biases. Overfitting is a common bias that can occur when backtesting. Overfitting occurs when the strategy has been over-optimized to match the backtest data too closely, and therefore it will be very different of future performance. To avoid overfitting, it is important to test your trading strategy on a variety of data sets and to not make any assumptions about how the market will behave in the future.
  • Take into account slippage and fees. When backtesting, most people do not take into account slippage and trading fees, which can eat into your profits. Make sure to factor these in when backtesting so that you have a more accurate idea of how your strategy would perform in the real world.

Performing a backtest in Gainium

To backtest a trading strategy, click on “Trading bots” on the sidebar and then “+ New” to launch the new bot page. Here you can set the desired configuration for your bot, including deal start condition, Take Profit, Stop loss, DCA, etc. Then click the “Backtest” button at the bottom. The backtesting results will show in the panel underneath. 




Upcoming backtesting features

At Gainium, we understand that backtesting is an important tool for every trader. Our goal is to create the most reliable backtesting system in the market. So while we are happy to launch the backtesting module, there is still a lot of work to be done. 

Stay tuned for more updates soon!

Skyrocket your profits with the most advanced trading bots in the market