import asyncioimport websocketsimport jsonfrom pprint import pprintasync def Partial_Book_Depth(): symbol = 'btcusdt' # 이름 levels = '@depth20' # 불러올 주문 수. 5, 10, 20 단위 US = '@1000ms' # 업데이트 속도. 1000ms, 100ms uri = f'wss://stream.binance.com:9443/ws/{symbol}{levels}{US}' async with websockets.connect(uri) as websocket: try: while True: data = json.l..