For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
How to disable plotting data?
-
How can I disable plotting input data and only plot observers and analyzers? I tried this but it doesn't work. Thanks.
data = PandasData(dataname=data_df, name=ticker, timeframe=bt.TimeFrame.Days) data.plotinfo.plot = False cerebro.adddata(data, name=ticker)
-
@jesseliu0 said in How to disable plotting data?:
only plot observers and analyzers?
analyzers are not plotted in any instance.
It is unclear from your message what happens when you run the code.