def Cmd_display(self):
    """ For Task overall stock display
        一行顯示資訊，用於終端機顯示樣式。
    """
    re = "%(stock_no)s %(stock_name)s %(stock_date)s %(stock_price)s %(stock_range)s %(stock_range_per).2f%% %(RABC)s %(stock_vol)s" % {
        'stock_name': unicode(self.stock_name),
        'stock_no': unicode(self.stock_no),
        'stock_date': unicode(self.data_date[-1]),
        'stock_price': unicode(self.raw_data[-1]),
        'stock_range': unicode(self.stock_range[-1]),
        'stock_range_per': self.range_per,
        'stock_vol': self.stock_vol[-1]/1000,
        'RABC': self.RABC
      }
    return re
def Cmd_display ( self ) : re = "%(stock_no)s %(stock_name)s %(stock_date)s %(stock_price)s %(stock_range)s %(stock_range_per).2f%% %(RABC)s %(stock_vol)s" % { 'stock_name' : unicode ( self . stock_name ) , 'stock_no' : unicode ( self . stock_no ) , 'stock_date' : unicode ( self . data_date [ - 1 ] ) , 'stock_price' : unicode ( self . raw_data [ - 1 ] ) , 'stock_range' : unicode ( self . stock_range [ - 1 ] ) , 'stock_range_per' : self . range_per , 'stock_vol' : self . stock_vol [ - 1 ] / 1000 , 'RABC' : self . RABC } return re
For Task overall stock display
        一行顯示資訊，用於終端機顯示樣式。