2021-06-08 19:09:39 +00:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class SignalType(Enum):
|
|
|
|
"""
|
|
|
|
Enum to distinguish between buy and sell signals
|
|
|
|
"""
|
|
|
|
BUY = "buy"
|
|
|
|
SELL = "sell"
|
2021-07-19 21:58:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
class SignalNameType(Enum):
|
|
|
|
"""
|
|
|
|
Enum to distinguish between buy and sell signals
|
|
|
|
"""
|
|
|
|
BUY_SIGNAL_NAME = "buy_signal_name"
|