def loadDate(self,date):
        fName = os.path.join(self.dataDir, date2fileName(date))
        zipped = zipfile.ZipFile(fName) # open zip file
        lines = zipped.read(zipped.namelist()[0]) # read first file from to lines
        buf = StringIO.StringIO(lines) # create buffer
        df = pd.read_csv(buf,sep='|',index_col=1,parse_dates=False,dtype={'Date':object,'Short Volume':np.float32,'Total Volume':np.float32})
        s = df['Short Volume']/df['Total Volume']
        s.name = dt.datetime.strptime(df['Date'][-1],'%Y%m%d')

        return s
dataset/ETHPy150Open sjev/trading-with-python/lib/bats.py/BATS_Data.loadDate/original