stable/freqtrade/enums/state.py

14 lines
202 B
Python
Raw Permalink Normal View History

2021-06-08 19:20:35 +00:00
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()}"