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.

15 lines
329 B

from huobi.client.trade import TradeClient
from huobi.constant import *
def callback(order_req_obj: 'OrderDetailReq'):
order_req_obj.print_object()
order_id = 25943298391691
trade_client = TradeClient(api_key=g_api_key, secret_key=g_secret_key)
trade_client.req_order_detail(order_id, callback, client_req_id="abcde")