From 0220762bf58a25177670940ccfd7c5bc86b5fe17 Mon Sep 17 00:00:00 2001 From: vpatil Date: Tue, 2 Jun 2020 17:13:36 +0530 Subject: [PATCH] fix: #111 incorrect bar data --- qtpylib/blotter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qtpylib/blotter.py b/qtpylib/blotter.py index d4b3aa2..d6606b3 100644 --- a/qtpylib/blotter.py +++ b/qtpylib/blotter.py @@ -672,7 +672,7 @@ def on_tick_received(self, tick): self._bars[symbol] = self._bars[symbol][-1:] _raw_bars.drop(_raw_bars.index[:], inplace=True) - self._raw_bars[symbol] = _raw_bars + self._raw_bars[symbol] = _raw_bars # ------------------------------------------- def broadcast(self, data, kind):