Strategies

Jesse ships with a number of pre-built strategies. Whether they are profitable or not for your purposes, it doesn't really matter. Jesse's API for defining your custom strategies is where it shines indeed.

Jesse waits until it receives a new candle. When it does, it goes through a series of functions to make decisions. Here's a flowchart presenting the steps:

symbols

There's also the concept of events which are functions you use to determine what should happen after certain events happen to your position. These could occur at any time and not necessarily at candle close time. For example, when your entry order gets executed and you open a new position, the on_open_position event is called.