what else?
This commit is contained in:
parent
4dffb17dd6
commit
7ed15c64ba
@ -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'})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user