From 672d115eca9077157088834c873c402abc8b06ed Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 31 Dec 2018 19:42:14 +0100 Subject: [PATCH] Change default value and add docstring --- freqtrade/data/converter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/data/converter.py b/freqtrade/data/converter.py index a75b1e997..62e9a68f6 100644 --- a/freqtrade/data/converter.py +++ b/freqtrade/data/converter.py @@ -11,12 +11,13 @@ logger = logging.getLogger(__name__) def parse_ticker_dataframe(ticker: list, ticker_interval: str, - fill_missing: bool = False) -> DataFrame: + fill_missing: bool = True) -> DataFrame: """ Converts a ticker-list (format ccxt.fetch_ohlcv) to a Dataframe :param ticker: ticker list, as returned by exchange.async_get_candle_history :param ticker_interval: ticker_interval (e.g. 5m). Used to fill up eventual missing data - :param fill_missing: boolean + :param fill_missing: fill up missing candles with 0 candles + (see ohlcv_fill_up_missing_data for details) :return: DataFrame """ logger.debug("Parsing tickerlist to dataframe")