small adaptations

This commit is contained in:
Matthias 2018-12-17 06:43:01 +01:00
parent 05570732c6
commit 4ab7edd3d6
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class DataProvider(object):
""" """
# TODO: Should not be stored in exchange but in this class # TODO: Should not be stored in exchange but in this class
# TODO: should return dataframe, not list # TODO: should return dataframe, not list
return self._exchange.klines.get(pair) return self._exchange.klines(pair)
def historic_ohlcv(self, pair: str) -> DataFrame: def historic_ohlcv(self, pair: str) -> DataFrame:
""" """

View File

@ -15,8 +15,8 @@ from requests.exceptions import RequestException
from freqtrade import (DependencyException, OperationalException, from freqtrade import (DependencyException, OperationalException,
TemporaryError, __version__, constants, persistence) TemporaryError, __version__, constants, persistence)
from freqtrade.data.converter import order_book_to_dataframe from freqtrade.data.converter import order_book_to_dataframe
from freqtrade.data.dataprovider import DataProvider
from freqtrade.edge import Edge from freqtrade.edge import Edge
from freqtrade.dataprovider import DataProvider
from freqtrade.exchange import Exchange from freqtrade.exchange import Exchange
from freqtrade.persistence import Trade from freqtrade.persistence import Trade
from freqtrade.rpc import RPCManager, RPCMessageType from freqtrade.rpc import RPCManager, RPCMessageType