Use diff. close time to avoid buggy behavior

This commit is contained in:
Matthias 2022-08-12 07:28:19 +00:00
parent d93bb82193
commit b427c7ff13

View File

@ -336,7 +336,7 @@ def test_LowProfitPairs(mocker, default_conf, fee, caplog, only_per_side):
Trade.query.session.add(generate_mock_trade(
'XRP/BTC', fee.return_value, False, exit_reason=ExitType.STOP_LOSS.value,
min_ago_open=110, min_ago_close=20, profit_rate=0.8,
min_ago_open=110, min_ago_close=21, profit_rate=0.8,
))
Trade.commit()