Merge pull request #6823 from mkavinkumar1/clean-bt

cleaned up backtesting
This commit is contained in:
Matthias 2022-05-13 21:00:06 +02:00 committed by GitHub
commit 8e9384e8e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -933,3 +933,5 @@ def test_backtest_results(default_conf, fee, mocker, caplog, data: BTContainer)
assert res.open_date == _get_frame_time_from_offset(trade.open_tick) assert res.open_date == _get_frame_time_from_offset(trade.open_tick)
assert res.close_date == _get_frame_time_from_offset(trade.close_tick) assert res.close_date == _get_frame_time_from_offset(trade.close_tick)
assert res.is_short == trade.is_short assert res.is_short == trade.is_short
backtesting.cleanup()
del backtesting