Plotting a LinesOperationObject
oldmonk last edited by
Apologies if this has been mentioned in the docs (I couldn't find it), but how do I plot a LinesOperation object that I create within a strategy? For instance, I created a
zscoreobject using two other lines, and I want to plot it. This is what I tried:
self.zscore = self.spread / self.stdev self.zscore.plotinfo.plot = True
self.stdevare two lines created previously.
I get the following error:
AttributeError: 'LinesOperation' object has no attribute 'plotinfo'.
run-out last edited by
The end of this might help.