what else?

This commit is contained in:
hroff-1902 2019-02-10 22:13:40 +03:00 committed by GitHub
parent 4dffb17dd6
commit 7ed15c64ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,8 @@ 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...
# 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'})