From 0673f3ec6cfb90cfa0ed27eea904ad9716fe76c9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 18 May 2024 16:46:17 +0200 Subject: [PATCH] Remove unused function --- freqtrade/data/converter/orderflow.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/freqtrade/data/converter/orderflow.py b/freqtrade/data/converter/orderflow.py index c48e95354..c9130306c 100644 --- a/freqtrade/data/converter/orderflow.py +++ b/freqtrade/data/converter/orderflow.py @@ -31,15 +31,6 @@ def _init_dataframe_with_trades_columns(dataframe: pd.DataFrame): dataframe["stacked_imbalances_ask"] = np.nan -def _convert_timeframe_to_pandas_frequency(timeframe: str): - # convert timeframe to format usable by pandas - from freqtrade.exchange import timeframe_to_minutes - - timeframe_minutes = timeframe_to_minutes(timeframe) - timeframe_frequency = f"{timeframe_minutes}min" - return (timeframe_frequency, timeframe_minutes) - - def _calculate_ohlcv_candle_start_and_end(df: pd.DataFrame, timeframe: str): from freqtrade.exchange import timeframe_to_next_date, timeframe_to_resample_freq