本文介绍Huobi火币交易所Websocket SDK-Python版
# -*- coding: utf-8 -*-
#author: 比特量化
#pip3 install websocket-client==0.46.0
import websocket
import gzip
import time,datetime
import json
if __name__ == '__main__':
try:
ws = websocket.create_connection("wss://api.huobi.pro