2022-08-19 13:11:43 +00:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class HyperoptState(Enum):
|
|
|
|
""" Hyperopt states """
|
|
|
|
STARTUP = 1
|
|
|
|
DATALOAD = 2
|
|
|
|
INDICATORS = 3
|
2022-08-19 13:40:06 +00:00
|
|
|
OPTIMIZE = 4
|
2022-08-19 13:11:43 +00:00
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
return f"{self.name.lower()}"
|