def PlotAll(self, ax): mpfplot(self.dataSubset, ax=ax, type='line', linecolor='#000000') self.PlotPriceLine(plt.gca(), self.data['Close']) return 0
def Plot(self): mpfplot(self.dataSubset['Close'].index, self.dataSubset['Close'], '#000000', label=self.stockCode) self.PlotPriceLine(plt.gca(), self.dataSubset['Close'])
def PlotCandle(self, ax): quotes = self.dataSubset mpfplot(quotes, type='candle', ax=ax, style='yahoo') self.PlotPriceLine(ax, self.dataSubset['Close'])