Skip to content

Commit

Permalink
hope to allow delayed streaming data
Browse files Browse the repository at this point in the history
  • Loading branch information
rob committed Jul 13, 2023
1 parent d7a3b2e commit 1b036fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysexecution/tick_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def get_next_n_ticks_from_ticker_object(
timer = quickTimer(time_out_seconds)
list_of_ticks = []
while len(list_of_ticks) < n_ticks:
tick = ticker_object.current_tick(require_refresh=True)
tick = ticker_object.wait_for_valid_bid_and_ask_and_return_current_tick()
list_of_ticks.append(tick)
if timer.finished: ## life is too short
break
Expand Down

0 comments on commit 1b036fd

Please sign in to comment.