From 7ed15c64bae75e7e13076a995267ce9efe0284b9 Mon Sep 17 00:00:00 2001 From: hroff-1902 <47309513+hroff-1902@users.noreply.github.com> Date: Sun, 10 Feb 2019 22:13:40 +0300 Subject: [PATCH] what else? --- freqtrade/data/converter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/data/converter.py b/freqtrade/data/converter.py index 231aaefca..2b8406ff1 100644 --- a/freqtrade/data/converter.py +++ b/freqtrade/data/converter.py @@ -30,8 +30,9 @@ def parse_ticker_dataframe(ticker: list, ticker_interval: str, infer_datetime_format=True) # Some exchanges return int values for volume and even for ohlc. - # Convert them since TA-LIB indicators used in the strategy assume floats and fail with exception... - frame = frame.astype(dtype={'open': 'float', 'high': 'float', 'low': 'float', 'close': 'float', + # Convert them since TA-LIB indicators used in the strategy assume floats + # and fail with exception... + frame = frame.astype(dtype={'open': 'float', 'high': 'float', 'low': 'float', 'close': 'float', 'volume': 'float'}) # group by index and aggregate results to eliminate duplicate ticks