Merge pull request #6823 from mkavinkumar1/clean-bt
cleaned up backtesting
This commit is contained in:
commit
8e9384e8e6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user