mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 03:41:14 +00:00
chore: remove schema syntax highlighting for protections
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user