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.

13 lines
246 B

from huobi.client.market import MarketClient
from huobi.model.market import *
def callback(obj_event: 'MarketDetailReq'):
obj_event.print_object()
print()
sub_client = MarketClient()
sub_client.req_market_detail("btcusdt", callback)