diff --git a/hyperliquid/utils/types.py b/hyperliquid/utils/types.py index 0c901c10..392c82ce 100644 --- a/hyperliquid/utils/types.py +++ b/hyperliquid/utils/types.py @@ -65,7 +65,7 @@ AllMidsData = TypedDict("AllMidsData", {"mids": Dict[str, str]}) AllMidsMsg = TypedDict("AllMidsMsg", {"channel": Literal["allMids"], "data": AllMidsData}) L2Level = TypedDict("L2Level", {"px": str, "sz": str, "n": int}) -L2BookData = TypedDict("L2BookData", {"coin": str, "levels": Tuple[List[L2Level]], "time": int}) +L2BookData = TypedDict("L2BookData", {"coin": str, "levels": Tuple[List[L2Level], List[L2Level]], "time": int}) L2BookMsg = TypedDict("L2BookMsg", {"channel": Literal["l2Book"], "data": L2BookData}) PongMsg = TypedDict("PongMsg", {"channel": Literal["pong"]}) Trade = TypedDict("Trade", {"coin": str, "side": Side, "px": str, "sz": int, "hash": str, "time": int})