Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ib_async/ticker.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def on_source(self, time, price, size):
def _on_timer(self, time):
if self.bars:
bar = self.bars[-1]
if self.isUnset(bar.close) and len(self.bars) > 1:
if isNan(bar.close) and len(self.bars) > 1:
bar.open = bar.high = bar.low = bar.close = self.bars[-2].close

self.bars.updateEvent.emit(self.bars, True)
Expand Down
Loading