Use correct calcuation for "locked in profit"

This commit is contained in:
Matthias
2020-06-04 07:04:32 +02:00
parent 412b50dac5
commit 7bd55aa2f1
2 changed files with 6 additions and 6 deletions

View File

@@ -535,8 +535,8 @@ def test_api_status(botclient, mocker, ticker, fee, markets):
'initial_stop_loss_ratio': -0.1,
'stoploss_current_dist': -1.1080000000000002e-06,
'stoploss_current_dist_ratio': -0.10081893,
'stoploss_entrypoint_dist': 1.0980000000000003e-06,
'stoploss_entrypoint_dist_ratio': 0.11111111,
'stoploss_entry_dist': -0.00010475,
'stoploss_entry_dist_ratio': -0.10448878,
'trade_id': 1,
'close_rate_requested': None,
'current_rate': 1.099e-05,