Ok,
so we are talking about a Main
strategy, not a driver.
Well, you can create a strategy using jesse
subcommand make-strategy
.
I suggest using the prepare
function in your main strategy to process the new candles and set all the signals.
Then you may use go_long
/ go_short
/ update_position
in the main itself and in the side
s strategies to read shared_vars
and act accordingly.