feat: add buy signal name

This commit is contained in:
kevinjulian
2021-07-20 04:58:20 +07:00
parent e9dbd57da4
commit 9e63bdbac9
6 changed files with 25 additions and 10 deletions

View File

@@ -2,5 +2,5 @@
from freqtrade.enums.rpcmessagetype import RPCMessageType
from freqtrade.enums.runmode import NON_UTIL_MODES, OPTIMIZE_MODES, TRADING_MODES, RunMode
from freqtrade.enums.selltype import SellType
from freqtrade.enums.signaltype import SignalType
from freqtrade.enums.signaltype import SignalType, SignalNameType
from freqtrade.enums.state import State

View File

@@ -7,3 +7,10 @@ class SignalType(Enum):
"""
BUY = "buy"
SELL = "sell"
class SignalNameType(Enum):
"""
Enum to distinguish between buy and sell signals
"""
BUY_SIGNAL_NAME = "buy_signal_name"