stable/freqtrade/enums/marketstatetype.py

16 lines
261 B
Python
Raw Normal View History

2023-02-11 23:31:25 +00:00
from enum import Enum
class MarketDirection(Enum):
"""
Enum for various market directions.
"""
LONG = "long"
SHORT = "short"
EVEN = "even"
2023-02-27 22:51:22 +00:00
NONE = "none"
def __str__(self):
# convert to string
return self.value