mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-16 05:03:55 +00:00
14 lines
202 B
Python
14 lines
202 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()}"
|