mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Converter: fix wrong return type
This commit is contained in:
@@ -62,7 +62,7 @@ def _init_dataframe_with_trades_columns(dataframe: DataFrame):
|
|||||||
dataframe['stacked_imbalances_ask'] = np.nan
|
dataframe['stacked_imbalances_ask'] = np.nan
|
||||||
|
|
||||||
|
|
||||||
def _convert_timeframe_to_pandas_frequency(timeframe: str) -> str:
|
def _convert_timeframe_to_pandas_frequency(timeframe: str):
|
||||||
# convert timeframe to format usable by pandas
|
# convert timeframe to format usable by pandas
|
||||||
from freqtrade.exchange import timeframe_to_minutes
|
from freqtrade.exchange import timeframe_to_minutes
|
||||||
timeframe_minutes = timeframe_to_minutes(timeframe)
|
timeframe_minutes = timeframe_to_minutes(timeframe)
|
||||||
|
|||||||
Reference in New Issue
Block a user