You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use python 3.10, what should I do to use API sdk?
`
from huobi.client.account import AccountClient
from huobi.constant import *
from huobi.utils import LogInfo
account_client = AccountClient(api_key=g_api_key,
secret_key=g_secret_key)
LogInfo.output("====== (SDK encapsulated api) not recommend for low performance and frequence limitation ======")
account_balance_list = account_client.get_account_balance()
if account_balance_list and len(account_balance_list):
for account_obj in account_balance_list:
account_obj.print_object()
print()
`
Some error comeup
TypeError: JSONDecoder.init() got an unexpected keyword argument 'encoding'
The text was updated successfully, but these errors were encountered:
I use python 3.10, what should I do to use API sdk?
`
`
Some error comeup
TypeError: JSONDecoder.init() got an unexpected keyword argument 'encoding'
The text was updated successfully, but these errors were encountered: