Power futures settlement
developmentbranch contains a commit to allow plotting on the same axis. The usage pattern:
data1.plotinfo.plotmaster = data0 data1.plotinfo.sameaxis = True
@backtrader back on this topic, are trades specific to one instrument, or shared ?
I use tradeid to differentiate the trades on each weekly product.
In this case, when data1 compensate data0:
here, on 08/08/2016, I would expect that the trade with id 1 is closed. But it's not.
Would this be possible ?
@Alexandre-Moyrand this is already available in the
developmentbranch starting with commit https://github.com/mementum/backtrader/commit/d9c06f4c17d705faf5254a8211066dab3671a73d
Sorry. I missed this commit :)
But it works !