update enum value to Biased

This commit is contained in:
Matthias 2024-06-21 17:43:27 +02:00
parent dd42a79234
commit 282198a81c
6 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@ class SupportsBacktesting(str, Enum):
YES = "yes"
NO = "no"
NO_ACTION = "no_action"
TODAYS_DATA = "todays_data"
BIASED = "biased"
class IPairList(LoggingMixin, ABC):

View File

@ -20,7 +20,7 @@ logger = logging.getLogger(__name__)
class MarketCapPairList(IPairList):
is_pairlist_generator = True
supports_backtesting = SupportsBacktesting.TODAYS_DATA
supports_backtesting = SupportsBacktesting.BIASED
def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)

View File

@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
class PrecisionFilter(IPairList):
supports_backtesting = SupportsBacktesting.TODAYS_DATA
supports_backtesting = SupportsBacktesting.BIASED
def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)

View File

@ -14,7 +14,7 @@ logger = logging.getLogger(__name__)
class PriceFilter(IPairList):
supports_backtesting = SupportsBacktesting.TODAYS_DATA
supports_backtesting = SupportsBacktesting.BIASED
def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)

View File

@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
class RemotePairList(IPairList):
is_pairlist_generator = True
# Potential winner bias
supports_backtesting = SupportsBacktesting.TODAYS_DATA
supports_backtesting = SupportsBacktesting.BIASED
def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)

View File

@ -75,7 +75,7 @@ class PairListManager(LoggingMixin):
pairlist_errors.append(pairlist_handler.name)
if pairlist_handler.supports_backtesting == SupportsBacktesting.NO_ACTION:
noaction_pairlists.append(pairlist_handler.name)
if pairlist_handler.supports_backtesting == SupportsBacktesting.TODAYS_DATA:
if pairlist_handler.supports_backtesting == SupportsBacktesting.BIASED:
biased_pairlists.append(pairlist_handler.name)
if noaction_pairlists: