freqtrade_origin/freqtrade/enums/state.py
2024-05-13 07:10:25 +02:00

15 lines
203 B
Python

from enum import Enum
class State(Enum):
"""
Bot application states
"""
RUNNING = 1
STOPPED = 2
RELOAD_CONFIG = 3
def __str__(self):
return f"{self.name.lower()}"