Add sellType enum

This commit is contained in:
Matthias 2018-07-11 19:22:34 +02:00
parent 64f933477d
commit 6bb7167b56

View File

@ -27,6 +27,16 @@ class SignalType(Enum):
SELL = "sell" SELL = "sell"
class SellType(Enum):
"""
Enum to distinguish between sell reasons
"""
ROI = "roi"
STOP_LOSS = "stop_loss"
TRAILING_STOP_LOSS = "trailing_stop_loss"
SELL_SIGNAL = "sell_signal"
class IStrategy(ABC): class IStrategy(ABC):
""" """
Interface for freqtrade strategies Interface for freqtrade strategies