small adaptations
This commit is contained in:
parent
05570732c6
commit
4ab7edd3d6
@ -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:
|
||||||
"""
|
"""
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user