Add blosc compression
This commit is contained in:
parent
0f08addfbe
commit
3171ad33b7
@ -139,7 +139,7 @@ class HDF5Handler(IDataHandler):
|
||||
column sequence as in DEFAULT_TRADES_COLUMNS
|
||||
"""
|
||||
key = self._pair_trades_key(pair)
|
||||
ds = pd.HDFStore(self.filename_trades, mode='a', complevel=9)
|
||||
ds = pd.HDFStore(self.filename_trades, mode='a', complevel=9, complib='blosc')
|
||||
ds.put(key, pd.DataFrame(data, columns=DEFAULT_TRADES_COLUMNS),
|
||||
format='table', data_columns=['timestamp'])
|
||||
ds.close()
|
||||
|
@ -14,6 +14,7 @@ tabulate==0.8.7
|
||||
pycoingecko==1.3.0
|
||||
jinja2==2.11.2
|
||||
tables==3.6.1
|
||||
blosc==1.9.1
|
||||
|
||||
# find first, C search in arrays
|
||||
py_find_1st==1.1.4
|
||||
|
Loading…
Reference in New Issue
Block a user