Skip to content

Commit

Permalink
Sort BacktestNode streaming data
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Oct 31, 2023
1 parent f259a6b commit c8d16a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautilus_trader/backtest/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def _run_streaming(
engine.add_data(
data=capsule_to_list(chunk),
validate=False, # Cannot validate mixed type stream
sort=False, # Already sorted from kmerge
sort=True, # Temporarily sorting # Already sorted from kmerge
)
engine.run(
run_config_id=run_config_id,
Expand Down

0 comments on commit c8d16a7

Please sign in to comment.