You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
252 B

from huobi.client.market import MarketClient
from huobi.model.market import *
def callback(obj_event: 'MarketDetailEvent'):
obj_event.print_object()
print()
market_client = MarketClient()
market_client.sub_market_detail("btcusdt", callback)