msgspec icon indicating copy to clipboard operation
msgspec copied to clipboard

Default tag

Open takshingc opened this issue 2 years ago • 0 comments
trafficstars

Description

Hi, is there any ways to default a tag? for example

bookTicker: {'u': 26218595314, 's': 'ETHUSDT', 'b': '1670.39000000', 'B': '86.53880000', 'a': '1670.40000000', 'A': '70.13720000'} # which does not has 'e' in the message

depthUpdate: {'e': 'depthUpdate', 'E': 1692526763992, 's': 'BTCUSDT', 'U': 38408158254, 'u': 38408158256, 'b': [['13062.23000000', '0.00091000']], 'a': [['26126.94000000', '0.11860000']]}

(from the binance websocket streams)

takshingc avatar Aug 20 '23 10:08 takshingc