Update telegram notifications to properly detect shorts

This commit is contained in:
Matthias
2022-03-04 19:42:29 +01:00
parent 9576fab621
commit 8943d42509
4 changed files with 9 additions and 7 deletions

View File

@@ -122,7 +122,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
'order_date': ANY, 'order_timestamp': ANY, 'order_filled_date': ANY,
'order_filled_timestamp': ANY, 'order_type': 'limit', 'price': 1.098e-05,
'is_open': False, 'pair': 'ETH/BTC', 'order_id': ANY,
'remaining': ANY, 'status': ANY
'remaining': ANY, 'status': ANY, 'ft_is_entry': True,
}],
}
@@ -204,7 +204,8 @@ def test_rpc_trade_status(default_conf, ticker, fee, mocker) -> None:
'order_date': ANY, 'order_timestamp': ANY, 'order_filled_date': ANY,
'order_filled_timestamp': ANY, 'order_type': 'limit', 'price': 1.098e-05,
'is_open': False, 'pair': 'ETH/BTC', 'order_id': ANY,
'remaining': ANY, 'status': ANY}],
'remaining': ANY, 'status': ANY, 'ft_is_entry': True,
}],
}