Convert ROI result to proper json object

closes #4952
This commit is contained in:
Matthias
2021-05-17 20:58:50 +02:00
parent 3006396398
commit 6aa574fa2b
2 changed files with 6 additions and 5 deletions

View File

@@ -649,10 +649,10 @@ def test_generate_optimizer(mocker, hyperopt_conf) -> None:
'rsi-enabled': False,
'rsi-value': 0,
'trigger': 'macd_cross_signal'},
'roi': {0: 0.12000000000000001,
20.0: 0.02,
50.0: 0.01,
110.0: 0},
'roi': {"0": 0.12000000000000001,
"20.0": 0.02,
"50.0": 0.01,
"110.0": 0},
'sell': {'sell-adx-enabled': False,
'sell-adx-value': 0,
'sell-fastd-enabled': True,