use gz to save / load trades data

This commit is contained in:
Matthias
2019-08-16 10:26:20 +02:00
parent 6cc98c1ea9
commit 42b8241541
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ def pair_data_filename(datadir: Path, pair: str, ticker_interval: str) -> Path:
def pair_trades_filename(datadir: Path, pair: str) -> Path:
pair_s = pair.replace("/", "_")
filename = datadir.joinpath(f'{pair_s}-trades.json')
filename = datadir.joinpath(f'{pair_s}-trades.json.gz')
return filename