Add sellType enum
This commit is contained in:
parent
64f933477d
commit
6bb7167b56
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user