Skip to content

Strategy Optimization

The optimize mode allows you to tune your strategy's parameters (or "hyperparameters" as we call them). Do not let the word "optimization" trick you into thinking it can merely improve your strategies. It is way more powerful than that.

Like all other features of Jesse, the optimize mode is designed to give you full flexibility, and yet it is very easy to use.

However, to take full advantage of it, you need to have a basic understanding of how it works; so make sure to read all of this page, carefully.

How does it work?

Jesse optimizes parameters using a genetic algorithm; a type of evolutionary algorithm. You do not have to be an expert on the subject to use the optimize mode, but is recommended to get familiar with the basics of it. Here's a nice 5-minute video that explains it:

Which parameters can I optimize?

The optimize mode is pretty flexible. You can use it to optimize anything that is written inside your strategy file. A few examples might be:

  1. The period of an EMA indicator. Not sure whether to use the 50, 51, 52, ... or 100 period? Let the optimize mode decide.
  2. The choice between which indicator to use in the first place. Not sure whether to use RSI, Stochastic, or the SRSI? Let the optimize mode decide.
  3. Choosing between multiple entry rules of your strategy.

We do NOT guarantee profitable trading results in anyways. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS. Do not risk money which you are afraid to lose. There might be bugs in the code - this software DOES NOT come with ANY warranty. All investments carry risk! Past performance is no guarantee of future results! Be aware of overfitting!