From 6b6270db132ebb41dc334aaf8076588c3f368efa Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 2 May 2021 10:37:54 +0200 Subject: [PATCH] Add hint about "sell_profit_only" to docs --- docs/strategy-advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/strategy-advanced.md b/docs/strategy-advanced.md index 7fa889dd1..eb322df9d 100644 --- a/docs/strategy-advanced.md +++ b/docs/strategy-advanced.md @@ -51,7 +51,7 @@ For example you could implement a 1:2 risk-reward ROI with `custom_sell()`. You should abstain from using custom_sell() signals in place of stoplosses though. It is a inferior method to using `custom_stoploss()` in this regard - which also allows you to keep the stoploss on exchange. !!! Note - Returning a `string` or `True` from this method is equal to setting sell signal on a candle at specified time. This method is not called when sell signal is set already, or if sell signals are disabled (`use_sell_signal=False`). `string` max length is 64 characters. Exceeding this limit will cause the message to be truncated to 64 characters. + Returning a `string` or `True` from this method is equal to setting sell signal on a candle at specified time. This method is not called when sell signal is set already, or if sell signals are disabled (`use_sell_signal=False` or `sell_profit_only=True` while profit is below `sell_profit_offset`). `string` max length is 64 characters. Exceeding this limit will cause the message to be truncated to 64 characters. An example of how we can use different indicators depending on the current profit and also sell trades that were open longer than one day: