From 6c50761d23377b1bf510b7003727ca006c7da974 Mon Sep 17 00:00:00 2001 From: davidatBGU <149952774+davidatBGU@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:55:18 +0200 Subject: [PATCH 1/2] fixed ib_async.wrapper ERROR: tickString with tickType 88: unhandled value: '1763653969' --- ib_async/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ib_async/wrapper.py b/ib_async/wrapper.py index 1ce3b01..f00cd0a 100644 --- a/ib_async/wrapper.py +++ b/ib_async/wrapper.py @@ -1113,7 +1113,7 @@ def tickString(self, reqId: int, tickType: int, value: str): ticker.askExchange = value elif tickType == 84: ticker.lastExchange = value - elif tickType == 45: + elif tickType in {45, 88}: timestamp = int(value) # only populate if timestamp isn't '0' (we don't want to report "last trade: 20,000 days ago") From ea26bea1fd8442ada3e44f666c6959ab3cde9846 Mon Sep 17 00:00:00 2001 From: davidatBGU <149952774+davidatBGU@users.noreply.github.com> Date: Thu, 20 Nov 2025 19:13:09 +0200 Subject: [PATCH 2/2] fixed Received tick tickType=90 AssertionError: Received tick tickType=90 value=0 but we don't have an attribute mapping for it? Triggered from ticker.contract=Stock(conId=4817283, symbol='RCMT', exchange='NASDAQ', currency='USD', localSymbol='RCMT', tradingClass='NMS') 2025-11-20 17:00:16,731 ib_async.Decoder ERROR: Error for tickGeneric([796, 90, 0.0]): Traceback (most recent call last): File "/home/opc/.local/lib/python3.11/site-packages/ib_async/decoder.py", line 170, in handler method(*args) File "/home/opc/.local/lib/python3.11/site-packages/ib_async/wrapper.py", line 1208, in tickGeneric assert tickType in GENERIC_TICK_MAP, ( --- ib_async/wrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ib_async/wrapper.py b/ib_async/wrapper.py index f00cd0a..96d746a 100644 --- a/ib_async/wrapper.py +++ b/ib_async/wrapper.py @@ -133,6 +133,7 @@ 55: "tradeRate", 56: "volumeRate", 58: "rtHistVolatility", + 90: "ShortableStatus", } GREEKS_TICK_MAP: Final[TickDict] = {