Add trailing-stop to strategy

This commit is contained in:
Matthias
2019-01-05 07:10:25 +01:00
parent 29db2078d6
commit 4599c80e79
3 changed files with 71 additions and 0 deletions

View File

@@ -67,6 +67,11 @@ class IStrategy(ABC):
# associated stoploss
stoploss: float
# trailing stoploss
trailing_stop: bool = False
trailing_stop_positive: float
trailing_stop_positive_offset: float
# associated ticker interval
ticker_interval: str