Update strategy-advanced.md

Remove untrue comment probably left-over from more intricate example
This commit is contained in:
JoeSchr 2021-04-29 12:16:02 +02:00 committed by GitHub
parent 5bc908870f
commit 83708ae045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,7 @@ class AwesomeStrategy(IStrategy):
trade_open_date = timeframe_to_prev_date(self.timeframe, trade.open_date_utc)
trade_row = dataframe.loc[dataframe['date'] == trade_open_date].squeeze()
# Sell when price falls below value in stoploss column of taken buy signal.
# above 20% profit, sell when rsi < 80
# Above 20% profit, sell when rsi < 80
if current_profit > 0.2:
if trade_row['rsi'] < 80:
return 'rsi_below_80'