Add cooldown with timeperiod test
This commit is contained in:
@@ -692,6 +692,14 @@ def test_MaxDrawdown(mocker, default_conf, fee, caplog):
|
|||||||
"if drawdown is > 0.0 within 20 candles.'}]",
|
"if drawdown is > 0.0 within 20 candles.'}]",
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
{
|
||||||
|
"method": "CooldownPeriod",
|
||||||
|
"unlock_at": "01:00",
|
||||||
|
},
|
||||||
|
"[{'CooldownPeriod': 'CooldownPeriod - Cooldown period until 01:00.'}]",
|
||||||
|
None,
|
||||||
|
),
|
||||||
(
|
(
|
||||||
{
|
{
|
||||||
"method": "StoplossGuard",
|
"method": "StoplossGuard",
|
||||||
|
|||||||
Reference in New Issue
Block a user