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.
14 lines
375 B
14 lines
375 B
from huobi.client.subuser import SubuserClient
|
|
from huobi.constant import *
|
|
|
|
subuser_client = SubuserClient(api_key=g_api_key, secret_key=g_secret_key)
|
|
|
|
otp_token = '746316'
|
|
sub_uid = 122946475
|
|
note = "huobi_subuser"
|
|
permission = 'readOnly'
|
|
# ip_addresses = ''
|
|
|
|
result = subuser_client.post_subuser_apikey_generate(otp_token, sub_uid, note, permission)
|
|
result.print_object()
|