freqtrade_origin/freqtrade/enums/hyperoptstate.py

13 lines
210 B
Python
Raw Normal View History

from enum import Enum
class HyperoptState(Enum):
""" Hyperopt states """
STARTUP = 1
DATALOAD = 2
INDICATORS = 3
OPTIMIZE = 4
def __str__(self):
return f"{self.name.lower()}"