Use pct instead of _perc

This commit is contained in:
Matthias
2020-05-26 19:25:03 +02:00
parent 18d2587800
commit 3e3cce4559
5 changed files with 12 additions and 12 deletions

View File

@@ -76,9 +76,9 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
'amount': 91.07468124,
'stake_amount': 0.001,
'close_profit': None,
'close_profit_perc': None,
'close_profit_pct': None,
'current_profit': -0.00408133,
'current_profit_perc': -0.41,
'current_profit_pct': -0.41,
'stop_loss': 0.0,
'initial_stop_loss': 0.0,
'initial_stop_loss_pct': None,
@@ -124,9 +124,9 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
'amount': 91.07468124,
'stake_amount': 0.001,
'close_profit': None,
'close_profit_perc': None,
'close_profit_pct': None,
'current_profit': ANY,
'current_profit_perc': ANY,
'current_profit_pct': ANY,
'stop_loss': 0.0,
'initial_stop_loss': 0.0,
'initial_stop_loss_pct': None,