Add enter_long compatibility layer

This commit is contained in:
Matthias
2021-08-23 21:12:46 +02:00
parent 07de5d11ca
commit 9add3bf808
2 changed files with 13 additions and 5 deletions

View File

@@ -5,9 +5,9 @@ class SignalType(Enum):
"""
Enum to distinguish between buy and sell signals
"""
BUY = "buy"
SELL = "sell"
SHORT = "short"
BUY = "buy" # To be renamed to enter_long
SELL = "sell" # To be renamed to exit_long
SHORT = "short" # Should be "enter_short"
EXIT_SHORT = "exit_short"