For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Pausing a backtest

  • Hi,

    Can we make the system pause and resume somehow? I am trying to run this as an OpenAI Gym environment and I wonder if I can make the system run a single datapoint, analyze it wait as long as I want and tell it to move to the next one.

    Thanks for the great work

  • Put input() function in the next() call. It will wait for your input on every bar.

Log in to reply

Looks like your connection to Backtrader Community was lost, please wait while we try to reconnect.