def loaddate(self):
    ''' 載入檔案
        檔案依據 http://www.twse.com.tw/ch/trading/trading_days.php
    '''
    ld = csv.reader(open('./%s/opendate.csv' % _CSVFILEPATH, 'r'))
    re = {}
    re['close'] = []
    re['open'] = []

    for i in ld:
      ''' 0 = 休市, 1 = 開市 '''
      if i[1] == '0':
        re['close'] += [datetime.strptime(i[0],'%Y/%m/%d').date()]
      elif i[1] == '1':
        re['open'] += [datetime.strptime(i[0],'%Y/%m/%d').date()]
      else:
        pass
    return re
載入檔案
        檔案依據 http://www.twse.com.tw/ch/trading/trading_days.php