hmm, seems like the patch either doesn't work or missing.
it should have looked like the following log:
**20:37:31:657 -> 4-2-16777223-10225-Bust event occurred, current subscription is deactivated. Please resubscribe real-time bars immediately.-
**20:37:31:982 <- 51-1-16777223-
**20:37:31:989 <- 50-2-16777224-6248713-FFIV-STK--0.0---SMART-NASDAQ-USD-FFIV-NMS-5-TRADES-0-
20:37:32:349 -> 50-3-16777224-1600461445-120.84-120.84-120.84-120.84-0-120.84-0-
20:37:35:493 -> 50-3-16777221-1600461450-13.80-13.80-13.80-13.80-0-13.80-0-
20:37:35:494 -> 50-3-16777224-1600461450-120.84-120.84-120.84-120.84-0-120.84-0-
20:37:35:494 -> 50-3-16777217-1600461450-59.93-59.93-59.93-59.93-0-59.93-0-
here the 51 code stands for CANCEL_REAL_TIME_BARS and 50 for REQ_REAL_TIME_BARS messages
You may try to insert some prints in ibdata.py in the error processing code around lines 513-518 I guess. The code there looks like the following:
elif msg == -10225: # Bust event occurred...
self._subcription_valid = False
if not self._statelivereconn:
self._statelivereconn = self.p.backfill
self.reqdata() # resubscribe
and see if the code flow actually enters this region.
@btr I just asked where your misunderstanding was in the other topic. Thanks for clarifying.
In the other topic the OP knew the optix lines. In your case, you would simlply add in the column names of your dataframe.