mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 04:03:55 +00:00
Fix circular import in hyperopt
This commit is contained in:
parent
f398888865
commit
96ea10e562
|
@ -10,7 +10,6 @@ from typing import Any, Dict, List
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from pandas import DataFrame, to_datetime
|
from pandas import DataFrame, to_datetime
|
||||||
|
|
||||||
from freqtrade.configuration.timerange import TimeRange
|
|
||||||
from freqtrade.constants import DEFAULT_DATAFRAME_COLUMNS, DEFAULT_TRADES_COLUMNS, TradeList
|
from freqtrade.constants import DEFAULT_DATAFRAME_COLUMNS, DEFAULT_TRADES_COLUMNS, TradeList
|
||||||
|
|
||||||
|
|
||||||
|
@ -146,7 +145,7 @@ def trim_dataframe(df: DataFrame, timerange, df_date_col: str = 'date',
|
||||||
return df
|
return df
|
||||||
|
|
||||||
|
|
||||||
def trim_dataframes(preprocessed: Dict[str, DataFrame], timerange: TimeRange,
|
def trim_dataframes(preprocessed: Dict[str, DataFrame], timerange,
|
||||||
startup_candles: int) -> Dict[str, DataFrame]:
|
startup_candles: int) -> Dict[str, DataFrame]:
|
||||||
"""
|
"""
|
||||||
Trim startup period from analyzed dataframes
|
Trim startup period from analyzed dataframes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user