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
393 B
11 lines
393 B
from huobi.client.trade import TradeClient
|
|
from huobi.constant import *
|
|
from huobi.utils import *
|
|
|
|
|
|
trade_client = TradeClient(api_key=g_api_key, secret_key=g_secret_key)
|
|
list_obj = trade_client.get_match_result(symbol="trxusdt", size=5, direct=QueryDirection.NEXT)
|
|
LogInfo.output_list(list_obj)
|
|
|
|
list_obj = trade_client.get_match_result(symbol="eosusdt", size=5)
|
|
LogInfo.output_list(list_obj) |