Move signalType to enums

This commit is contained in:
Matthias
2021-06-08 21:09:39 +02:00
parent 89b9915c12
commit 3c149b9b59
3 changed files with 11 additions and 9 deletions

View File

@@ -1,2 +1,3 @@
# flake8: noqa: F401
from freqtrade.enums.selltype import SellType
from freqtrade.enums.signaltype import SignalType

View File

@@ -0,0 +1,9 @@
from enum import Enum
class SignalType(Enum):
"""
Enum to distinguish between buy and sell signals
"""
BUY = "buy"
SELL = "sell"