Skip to content

Commit

Permalink
Fix BacktestNode streaming data management
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Mar 28, 2024
1 parent ca8c730 commit c2738e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Released on TBD (UTC).
- Renamed `Indicator.handle_book_mbo` and `Indicator.handle_book_mbp` to `handle_book` (consolidated)

### Fixes
None
- Fixed `BacktestNode` streaming data management (was not clearing between chunks), thanks for the report @dpmabo

---

Expand Down
1 change: 1 addition & 0 deletions nautilus_trader/backtest/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def _run_streaming(
run_config_id=run_config_id,
streaming=True,
)
engine.clear_data()

engine.end()
engine.dispose()
Expand Down

0 comments on commit c2738e0

Please sign in to comment.