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

Issues in plotting

  • I am getting very hard time plotting things in backtrader.

    Just want to confirm if i comment out the notify_trade, notify_order and next and try to plot the thing hangs. When i adjust cerebro(stdstats= False) it runs. So can someone clear that it's mandatory to have those 3 functions in order for plotting.

  • Observed it happens if there is no buy or sell orders generated. Or if only buy orders are generated and no sell order is generated.

Log in to reply