diff --git a/freqtrade/freqai/data_kitchen.py b/freqtrade/freqai/data_kitchen.py index 8ef2d6aea..471634c85 100644 --- a/freqtrade/freqai/data_kitchen.py +++ b/freqtrade/freqai/data_kitchen.py @@ -9,7 +9,7 @@ from typing import Any, Dict, List, Tuple import numpy as np import numpy.typing as npt import pandas as pd -import scipy.stats as stats +from scipy import stats from pandas import DataFrame from sklearn import linear_model from sklearn.cluster import DBSCAN diff --git a/tests/freqai/conftest.py b/tests/freqai/conftest.py index ffdc52ebc..2bd744455 100644 --- a/tests/freqai/conftest.py +++ b/tests/freqai/conftest.py @@ -97,7 +97,7 @@ def make_unfiltered_dataframe(mocker, freqai_conf): freqai.dd.load_all_pair_histories(data_load_timerange, freqai.dk) freqai.dd.pair_dict = MagicMock() - + new_timerange = TimeRange.parse_timerange("20180120-20180130") corr_dataframes, base_dataframes = freqai.dd.get_base_and_corr_dataframes(