move exchange_helpers to data module

This commit is contained in:
Matthias 2018-12-12 19:57:25 +01:00
parent 04c330f10b
commit 030ecbfc17
4 changed files with 4 additions and 4 deletions

View File

View File

@ -1,5 +1,5 @@
"""
Functions to analyze ticker data with indicators and produce buy and sell signals
Functions to convert data from one format to another
"""
import logging
import pandas as pd
@ -10,7 +10,7 @@ logger = logging.getLogger(__name__)
def parse_ticker_dataframe(ticker: list) -> DataFrame:
"""
Analyses the trend for the given ticker history
Converts a ticker-list (format ccxt.fetch_ohlcv) to a Dataframe
:param ticker: ticker list, as returned by exchange.async_get_candle_history
:return: DataFrame
"""

View File

@ -14,7 +14,7 @@ import ccxt.async_support as ccxt_async
from pandas import DataFrame
from freqtrade import constants, OperationalException, DependencyException, TemporaryError
from freqtrade.exchange.exchange_helpers import parse_ticker_dataframe
from freqtrade.data.convert import parse_ticker_dataframe
logger = logging.getLogger(__name__)

View File

@ -1,7 +1,7 @@
# pragma pylint: disable=missing-docstring, C0103
import logging
from freqtrade.exchange.exchange_helpers import parse_ticker_dataframe
from freqtrade.data.convert import parse_ticker_dataframe
from freqtrade.tests.conftest import log_has