Load ohlcv data as float

This commit is contained in:
Matthias 2020-02-22 13:10:41 +01:00
parent 43add0b159
commit 7ecc56fa44

View File

@ -69,7 +69,7 @@ class JsonDataHandler(IDataHandler):
filename = self._pair_data_filename(self._datadir, pair, timeframe)
if not filename.exists():
return DataFrame(columns=self._columns)
pairdata = read_json(filename, orient='values')
pairdata = read_json(filename, orient='values', dtype='float64')
pairdata.columns = self._columns
pairdata['date'] = to_datetime(pairdata['date'],
unit='ms',