Plot multiple data on same canvas
I have multiple data sources (eg. NIFTY Futures, and its options). I want to plot a graph like below, from this example. In my code similar to the example I'm doing -
cerebro.plot(valume=False)but instead I'm getting 3 different sections of plot for each of the data source.
cerebro.plot(volume=False)simply hides volume from the plot. It doesn't give you ability to plot on the same chart.
In order to put number of data feeds on the same chart use:
data1.plotinfo.plotmaster = data0
when add data feeds. This is also shown in the example.
This is also shown in the example.
Good eye. It took some time to realize that the chart posted in the question was already in the linked example and was not the output of the OP (who wanted all assets on the same canvas ... as already shown in the chart)
@ab_trader Thanks, Good catch.