diff --git a/en/develop/configuration/index.html b/en/develop/configuration/index.html index bd01ed340..ec6d2e293 100644 --- a/en/develop/configuration/index.html +++ b/en/develop/configuration/index.html @@ -2915,10 +2915,6 @@ In the below case, max_open_trades would be 3 after the merging - a Define one or more pairlists to be used. More information.
Defaults to StaticPairList.
Datatype: List of Dicts -protections -Define one or more protections to be used. More information.
Datatype: List of Dicts - - Telegram diff --git a/en/develop/deprecated/index.html b/en/develop/deprecated/index.html index a62ec141b..1c4ecd2e1 100644 --- a/en/develop/deprecated/index.html +++ b/en/develop/deprecated/index.html @@ -1599,6 +1599,15 @@ + + +
  • + + + Removal of protections from configuration + + +
  • @@ -1799,6 +1808,15 @@ + + +
  • + + + Removal of protections from configuration + + +
  • @@ -1869,6 +1887,8 @@ We will keep a compatibility layer for 1-2 versions (so both buy_tag

    Removal of populate_any_indicators

    version 2023.3 saw the removal of populate_any_indicators in favor of split methods for feature engineering and targets. Please read the migration document for full details.

    +

    Removal of protections from configuration

    +

    Setting protections from the configuration via "protections": [], has been removed in 2024.10, after having raised deprecation warnings for over 3 years.

    diff --git a/en/develop/developer/index.html b/en/develop/developer/index.html index e56951734..1e41254a5 100644 --- a/en/develop/developer/index.html +++ b/en/develop/developer/index.html @@ -2505,8 +2505,7 @@ This Guide is directed towards Developers who want to develop a new protection.<

    No protection should use datetime directly, but use the provided date_now variable for date calculations. This preserves the ability to backtest protections.

    Writing a new Protection

    -

    Best copy one of the existing Protections to have a good example. -Don't forget to register your protection in constants.py under the variable AVAILABLE_PROTECTIONS - otherwise it will not be selectable.

    +

    Best copy one of the existing Protections to have a good example.

    Implementation of a new protection

    All Protection implementations must have IProtection as parent class. diff --git a/en/develop/includes/protections/index.html b/en/develop/includes/protections/index.html index 5145add7b..b0f3cf151 100644 --- a/en/develop/includes/protections/index.html +++ b/en/develop/includes/protections/index.html @@ -1572,29 +1572,17 @@

    Protections

    Protections

    -
    -

    Beta feature

    -

    This feature is still in it's testing phase. Should you notice something you think is wrong please let us know via Discord or via Github Issue.

    -

    Protections will protect your strategy from unexpected events and market conditions by temporarily stop trading for either one pair, or for all pairs. All protection end times are rounded up to the next candle to avoid sudden, unexpected intra-candle buys.

    -
    -

    Note

    -

    Not all Protections will work for all strategies, and parameters will need to be tuned for your strategy to improve performance.

    -
    -

    Tip

    +

    Usage tips

    +

    Not all Protections will work for all strategies, and parameters will need to be tuned for your strategy to improve performance.

    Each Protection can be configured multiple times with different parameters, to allow different levels of protection (short-term / long-term).

    Backtesting

    Protections are supported by backtesting and hyperopt, but must be explicitly enabled by using the --enable-protections flag.

    -
    -

    Setting protections from the configuration

    -

    Setting protections from the configuration via "protections": [], key should be considered deprecated and will be removed in a future version. -It is also no longer guaranteed that your protections apply to the strategy in cases where the strategy defines protections as property.

    -

    Available Protections