Automatic backtester

As the title suggests, I’ve been considering a system to automate the backtesting process, which could significantly fine-tune the bot’s settings. This feature could be a major advantage over competitors.

Here are some potential features of the system:

  1. Parameter Selection and Increments: Users can select parameters to be tested and define their increments—for example, testing the RSI value starting at 70 and increasing by 5, which would automatically run tests at 70, 75, 80, 85, etc.
  2. Result Criteria: Users can choose specific outcomes to evaluate, such as net profit, Sortino ratio, and maximum drawdown, or a combination of these. For example, criteria could be set to identify scenarios where the net profit is greater than 50% and the maximum drawdown is less than 15%.

The backtester would conduct multiple tests by autonomously adjusting the settings and display the best results, emphasizing those that meet the predefined criteria in point 2.

To prevent endless calculations, a cap could be implemented on the maximum number of parameter adjustments.

With this system, we could essentially “set it and forget it,” allowing the backtester to autonomously find the optimal settings for our bots while we sleep. :laughing:

2 Likes

And if those tests would run on a server and the results would be stored in combination with a hash over the configuration, other users with the same test run hadn’t to execute it again but could directly get the results.

Massive vote from my part to this idea :grin: I doesn’t seem easy to create but for those who are backtesting and really looking into the tiny parameters, it would be incredible to have this!

From @trigiecrypto, who suggested a similar feature.

It would be very powerfull when Gainium offers an assistant for optimising a strategy similar to this tool The Optimiser - TradingView Strategies - Chrome Web Store

I know this tool is quite advanced but it would already be nice if you can select 1 or 2 parameters from your bot (eg. profit percentage or specific setting from and indicator) and let Gainium find the best settings. This would save a lot of time when this can be automated instead of changing values and manually start a backtest over and over until you find the optimal setting.

4 Likes

yep, It will be a killer feature IMO

2 Likes

Good evening @aressanch and the rest of the team. I personally use TradingView Input Optimizer developed by GentlemanGoat and recently acquired by i3Lux. This tool is truly exceptional and better than The Optimiser when I tested it back in the day. I can put you in touch if needed.

But I vote 100% in favor of integrating this feature.

2 Likes

Hello everyone,

I had already thought about a tool like that in my deeper backtesting dreams; it would be ideal. And if it’s combined with my proposal to export the backtest table results, these could be analyzed in Excel or an equivalent program using filters for the information we’re interested in. However, in that case, the backtest table should include the changing parameters of the strategy being tested to find them more easily.

But of course, I vote for that tool.

1 Like