what else?

This commit is contained in:
hroff-1902
2019-02-10 22:13:40 +03:00
committed by GitHub
parent 4dffb17dd6
commit 7ed15c64ba

View File

@@ -30,7 +30,8 @@ def parse_ticker_dataframe(ticker: list, ticker_interval: str,
infer_datetime_format=True) infer_datetime_format=True)
# Some exchanges return int values for volume and even for ohlc. # 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... # 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', frame = frame.astype(dtype={'open': 'float', 'high': 'float', 'low': 'float', 'close': 'float',
'volume': 'float'}) 'volume': 'float'})