diff --git a/bitfinex/db.py b/bitfinex/db.py index 6612ccf..89582ca 100644 --- a/bitfinex/db.py +++ b/bitfinex/db.py @@ -49,4 +49,4 @@ def get_latest_candle_date(self, symbol): if result is None: return else: - return pendulum.from_timestamp(int(result)/1000) + return pendulum.from_timestamp(float(result)/1000)