Add mandatory properties to psar strategy

closes #141
This commit is contained in:
Matthias
2021-03-30 07:38:38 +02:00
parent 841c867e74
commit e00f42f905
@@ -15,6 +15,7 @@ from datetime import datetime
from freqtrade.persistence import Trade
from freqtrade.state import RunMode
class CustomStoplossWithPSAR(IStrategy):
"""
this is an example class, implementing a PSAR based trailing stop loss
@@ -23,7 +24,8 @@ class CustomStoplossWithPSAR(IStrategy):
the populate_buy_trend() function is pretty nonsencial
"""
timeframe = '1h'
stoploss = -0.2
custom_info = {}
use_custom_stoploss = True