freqtrade_origin/freqtrade/enums/state.py

15 lines
203 B
Python
Raw Normal View History

2021-06-08 19:20:35 +00:00
from enum import Enum
class State(Enum):
"""
Bot application states
"""
2024-05-12 14:21:53 +00:00
2021-06-08 19:20:35 +00:00
RUNNING = 1
STOPPED = 2
RELOAD_CONFIG = 3
def __str__(self):
return f"{self.name.lower()}"