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()}"