From 207887a28d5f67049849ecebd1345e8eb93cbc11 Mon Sep 17 00:00:00 2001 From: lacabra Date: Wed, 8 Nov 2017 20:43:40 +0000 Subject: [PATCH] MAINT: PoloniexCurator cleanup --- catalyst/curate/poloniex.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/catalyst/curate/poloniex.py b/catalyst/curate/poloniex.py index dfc53444..efd4a7b6 100644 --- a/catalyst/curate/poloniex.py +++ b/catalyst/curate/poloniex.py @@ -7,8 +7,8 @@ from catalyst.exchange.exchange_utils import get_exchange_symbols_filename DT_START = int(time.mktime(datetime(2010, 1, 1, 0, 0).timetuple())) DT_END = pd.to_datetime('today').value // 10 ** 9 -CSV_OUT_FOLDER = '/var/tmp/catalyst/data/poloniex/' CSV_OUT_FOLDER = '/Volumes/enigma/data/poloniex/' +CSV_OUT_FOLDER = '/efs/exchanges/poloniex/' CONN_RETRIES = 2 logbook.StderrHandler().push_application() @@ -50,7 +50,7 @@ class PoloniexCurator(object): self.currency_pairs.append(ticker) self.currency_pairs.sort() - log.debug('Currency pairs retrieved successfully: %d'.format( + log.debug('Currency pairs retrieved successfully: {}'.format( len(self.currency_pairs) )) @@ -358,6 +358,5 @@ if __name__ == '__main__': for currencyPair in pc.currency_pairs: pc.retrieve_trade_history(currencyPair) log.debug('{} up to date.'.format(currencyPair)) - #pc.write_ohlcv_file(currencyPair) + pc.write_ohlcv_file(currencyPair) - \ No newline at end of file