mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 20:23:57 +00:00
chore: remove schema syntax highlighting for protections
This commit is contained in:
parent
428d451e55
commit
d6cc88fa99
|
@ -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": {
|
"telegram": {
|
||||||
"description": "Telegram settings.",
|
"description": "Telegram settings.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
@ -229,7 +229,6 @@ Mandatory parameters are marked as **Required**, which means that they are requi
|
||||||
| | **Plugins**
|
| | **Plugins**
|
||||||
| `edge.*` | Please refer to [edge configuration document](edge.md) for detailed explanation of all possible configuration options.
|
| `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). <br>*Defaults to `StaticPairList`.* <br> **Datatype:** List of Dicts
|
| `pairlists` | Define one or more pairlists to be used. [More information](plugins.md#pairlists-and-pairlist-handlers). <br>*Defaults to `StaticPairList`.* <br> **Datatype:** List of Dicts
|
||||||
| `protections` | Define one or more protections to be used. [More information](plugins.md#protections). <br> **Datatype:** List of Dicts
|
|
||||||
| | **Telegram**
|
| | **Telegram**
|
||||||
| `telegram.enabled` | Enable the usage of Telegram. <br> **Datatype:** Boolean
|
| `telegram.enabled` | Enable the usage of Telegram. <br> **Datatype:** Boolean
|
||||||
| `telegram.token` | Your Telegram bot token. Only required if `telegram.enabled` is `true`. <br>**Keep it in secret, do not disclose publicly.** <br> **Datatype:** String
|
| `telegram.token` | Your Telegram bot token. Only required if `telegram.enabled` is `true`. <br>**Keep it in secret, do not disclose publicly.** <br> **Datatype:** String
|
||||||
|
|
|
@ -449,60 +449,6 @@ CONF_SCHEMA = {
|
||||||
"required": ["method"],
|
"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
|
# RPC section
|
||||||
"telegram": {
|
"telegram": {
|
||||||
"description": "Telegram settings.",
|
"description": "Telegram settings.",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user