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.

12 lines
445 B

from huobi.client.account import AccountClient
# get accounts
from huobi.utils import *
from example.api_key import *
account_client = AccountClient(api_key=g_api_key,
secret_key=g_secret_key)
account_history = account_client.get_account_history(account_id=g_account_id, start_time=1600827872000, size=4)
LogInfo.output_list(account_history["data"])
LogInfo.output('Next Id: %s' % (account_history["next_id"]))