From 55b04c192d7786532b1c8b2511b1df8542c8aa01 Mon Sep 17 00:00:00 2001 From: Markus Meissner Date: Sat, 19 Oct 2019 20:13:40 +0200 Subject: [PATCH] not working currently; pendulum.Interval() is now .Duration(), fixed + tested --- bitfinex/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitfinex/main.py b/bitfinex/main.py index e51fa3b..e594de3 100644 --- a/bitfinex/main.py +++ b/bitfinex/main.py @@ -69,7 +69,7 @@ def main(db_path, debug): db = SqliteDatabase(path=db_path) end_date = pendulum.now() - step = pendulum.Interval(minutes=1000) + step = pendulum.Duration(minutes=1000) symbols = get_symbols() logging.info(f'Found {len(symbols)} symbols')