mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-15 20:31:43 +00:00
Add a Enum class State that contains Bot running states
This commit is contained in:
14
freqtrade/state.py
Normal file
14
freqtrade/state.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# pragma pylint: disable=too-few-public-methods
|
||||
|
||||
"""
|
||||
Bot state constant
|
||||
"""
|
||||
import enum
|
||||
|
||||
|
||||
class State(enum.Enum):
|
||||
"""
|
||||
Bot running states
|
||||
"""
|
||||
RUNNING = 0
|
||||
STOPPED = 1
|
||||
Reference in New Issue
Block a user