diff --git a/build_helpers/schema.json b/build_helpers/schema.json index 8438dc3a0..6a73e75b0 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -579,57 +579,6 @@ ] } }, - "protections": { - "description": "Configuration for various protections.", - "type": "array", - "items": { - "type": "object", - "properties": { - "method": { - "description": "Method used for the protection.", - "type": "string", - "enum": [ - "CooldownPeriod", - "LowProfitPairs", - "MaxDrawdown", - "StoplossGuard" - ] - }, - "stop_duration": { - "description": "Duration to lock the pair after a protection is triggered, in minutes.", - "type": "number", - "minimum": 0.0 - }, - "stop_duration_candles": { - "description": "Duration to lock the pair after a protection is triggered, in number of candles.", - "type": "number", - "minimum": 0 - }, - "unlock_at": { - "description": "Time when trading will be unlocked regularly. Format: HH:MM", - "type": "string" - }, - "trade_limit": { - "description": "Minimum number of trades required during lookback period.", - "type": "number", - "minimum": 1 - }, - "lookback_period": { - "description": "Period to look back for protection checks, in minutes.", - "type": "number", - "minimum": 1 - }, - "lookback_period_candles": { - "description": "Period to look back for protection checks, in number of candles.", - "type": "number", - "minimum": 1 - } - }, - "required": [ - "method" - ] - } - }, "telegram": { "description": "Telegram settings.", "type": "object", diff --git a/docs/configuration.md b/docs/configuration.md index b05b1dcaa..074c9a577 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -229,7 +229,6 @@ Mandatory parameters are marked as **Required**, which means that they are requi | | **Plugins** | `edge.*` | Please refer to [edge configuration document](edge.md) for detailed explanation of all possible configuration options. | `pairlists` | Define one or more pairlists to be used. [More information](plugins.md#pairlists-and-pairlist-handlers).
*Defaults to `StaticPairList`.*
**Datatype:** List of Dicts -| `protections` | Define one or more protections to be used. [More information](plugins.md#protections).
**Datatype:** List of Dicts | | **Telegram** | `telegram.enabled` | Enable the usage of Telegram.
**Datatype:** Boolean | `telegram.token` | Your Telegram bot token. Only required if `telegram.enabled` is `true`.
**Keep it in secret, do not disclose publicly.**
**Datatype:** String diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index cd349daed..5aa9ef5e3 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -449,60 +449,6 @@ CONF_SCHEMA = { "required": ["method"], }, }, - "protections": { - "description": "Configuration for various protections.", - "type": "array", - "items": { - "type": "object", - "properties": { - "method": { - "description": "Method used for the protection.", - "type": "string", - "enum": AVAILABLE_PROTECTIONS, - }, - "stop_duration": { - "description": ( - "Duration to lock the pair after a protection is triggered, " - "in minutes." - ), - "type": "number", - "minimum": 0.0, - }, - "stop_duration_candles": { - "description": ( - "Duration to lock the pair after a protection is triggered, in " - "number of candles." - ), - "type": "number", - "minimum": 0, - }, - "unlock_at": { - "description": ( - "Time when trading will be unlocked regularly. Format: HH:MM" - ), - "type": "string", - }, - "trade_limit": { - "description": "Minimum number of trades required during lookback period.", - "type": "number", - "minimum": 1, - }, - "lookback_period": { - "description": "Period to look back for protection checks, in minutes.", - "type": "number", - "minimum": 1, - }, - "lookback_period_candles": { - "description": ( - "Period to look back for protection checks, in number " "of candles." - ), - "type": "number", - "minimum": 1, - }, - }, - "required": ["method"], - }, - }, # RPC section "telegram": { "description": "Telegram settings.",