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