1
0
mirror of https://github.com/Rikj000/MoniGoMani.git synced 2022-03-06 00:08:05 +03:00

Added protection_spaces

This commit is contained in:
Rik Helsen
2022-01-16 16:48:52 +01:00
parent f4e0c5aa9a
commit afca0734d9

View File

@@ -58,6 +58,50 @@
"unclogger_trend_lookback_window_uses_sideways_candles": true,
"unclogger_trend_lookback_window_uses_upwards_candles": false
},
"protection_spaces": [
{
"method": "CooldownPeriod",
"stop_duration_candles": { "min" : 2, "max": 5, "threshold": 1, "type": "integer" }
},
{
"method": "MaxDrawdown",
"lookback_period_candles": { "min" : 2, "max": 200, "threshold": 20, "type": "integer" },
"trade_limit": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"stop_duration_candles": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"max_allowed_drawdown": { "min" : 0, "max": 1, "threshold": 0.1, "type": "decimal" }
},
{
"method": "StoplossGuard",
"lookback_period_candles": { "min" : 2, "max": 200, "threshold": 20, "type": "integer" },
"trade_limit": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"stop_duration_candles": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"only_per_pair": false
},
{
"method": "StoplossGuard",
"id": "PerPair",
"lookback_period_candles": { "min" : 2, "max": 200, "threshold": 20, "type": "integer" },
"trade_limit": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"stop_duration_candles": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"only_per_pair": true
},
{
"method": "LowProfitPairs",
"id": "1",
"lookback_period_candles": { "min" : 2, "max": 200, "threshold": 20, "type": "integer" },
"trade_limit": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"stop_duration_candles": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"required_profit": { "min" : 0, "max": 1, "threshold": 0.1, "type": "decimal" }
},
{
"method": "LowProfitPairs",
"id": "2",
"lookback_period_candles": { "min" : 2, "max": 200, "threshold": 20, "type": "integer" },
"trade_limit": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"stop_duration_candles": { "min" : 2, "max": 100, "threshold": 10, "type": "integer" },
"required_profit": { "min" : 0, "max": 1, "threshold": 0.1, "type": "decimal" }
}
],
"default_stub_values": {
"minimal_roi": {
"0": 100