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 specific resample data, but not all



  • Re: how to disable plotting resample data

    Hi, Regarding this old post, I have a doubt.

    Let's say that I have CVS minute data and I want to use 15 minute data and 30 minutes data, but not the 1 minute data. Then I will be resampling the data feed like this:

    data = readCVS()
    cerebro.resampledata(data, timeframe=bt.TimeFrame.Minutes, compression=15)
    cerebro.resampledata(data, timeframe=bt.TimeFrame.Minutes, compression=30)
    

    At the time of plotting I only want to plot the 15 minutes resampled datafeed and not the 30 minutes one.

    My question is: where should I enter the "plot=False" for the 30 minutes data?

    Thanks


Log in to reply
 

});