chore: revert changes to btanalysis - they have no impact

This commit is contained in:
Matthias
2024-10-05 13:09:30 +02:00
parent 24c09d0319
commit 672a23dbcd
+1 -7
View File
@@ -3,7 +3,6 @@ Helpers when analyzing backtest data
""" """
import logging import logging
import typing
from copy import copy from copy import copy
from datetime import datetime, timezone from datetime import datetime, timezone
from pathlib import Path from pathlib import Path
@@ -17,10 +16,7 @@ from freqtrade.exceptions import ConfigurationError, OperationalException
from freqtrade.ft_types import BacktestHistoryEntryType, BacktestResultType from freqtrade.ft_types import BacktestHistoryEntryType, BacktestResultType
from freqtrade.misc import file_dump_json, json_load from freqtrade.misc import file_dump_json, json_load
from freqtrade.optimize.backtest_caching import get_backtest_metadata_filename from freqtrade.optimize.backtest_caching import get_backtest_metadata_filename
from freqtrade.persistence import LocalTrade, Trade, init_db
if typing.TYPE_CHECKING:
from freqtrade.persistence import LocalTrade, Trade
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@@ -464,8 +460,6 @@ def load_trades_from_db(db_url: str, strategy: Optional[str] = None) -> pd.DataF
Can also serve as protection to load the correct result. Can also serve as protection to load the correct result.
:return: Dataframe containing Trades :return: Dataframe containing Trades
""" """
from freqtrade.persistence import Trade, init_db
init_db(db_url) init_db(db_url)
filters = [] filters = []