Add missing methods to advanced strategy template

This commit is contained in:
Matthias
2021-08-04 06:46:21 +02:00
parent dfc17f2bd1
commit 6410a6528b
2 changed files with 44 additions and 3 deletions

View File

@@ -288,10 +288,10 @@ class IStrategy(ABC, HyperStrategyMixin):
time. This method is not called when sell signal is set.
This method should be overridden to create sell signals that depend on trade parameters. For
example you could implement a stoploss relative to candle when trade was opened, or a custom
1:2 risk-reward ROI.
example you could implement a sell relative to the candle when the trade was opened,
or a custom 1:2 risk-reward ROI.
Custom sell reason max length is 64. Exceeding this limit will raise OperationalException.
Custom sell reason max length is 64. Exceeding characters will be removed.
:param pair: Pair that's currently analyzed
:param trade: trade object.