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.
grid_trader/example/account/get_account_balance_by_subu...

13 lines
378 B

from huobi.client.account import AccountClient
from huobi.constant import *
# get accounts
from huobi.utils import *
from example.api_key import *
# 子账户财产
account_client = AccountClient(api_key=g_api_key,
secret_key=g_secret_key)
list_obj = account_client.get_account_balance_by_subuid(sub_uid=g_sub_uid)
LogInfo.output_list(list_obj)