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
324 B

from huobi.client.account import AccountClient
from huobi.constant import *
def callback(account_balance_req: 'AccountBalanceReq'):
account_balance_req.print_object()
account_client = AccountClient(api_key=g_api_key, secret_key=g_secret_key)
account_client.req_account_balance(callback=callback, client_req_id=None)