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/subuser/post_subuser_apikey_modific...

13 lines
369 B

from huobi.client.subuser import SubuserClient
from huobi.constant import *
subuser_client = SubuserClient(api_key=g_api_key, secret_key=g_secret_key)
subUid = 122946475
access_key = "abc"
note = "test"
permission = 'readOnly,trade'
result = subuser_client.post_subuser_apikey_modification(subUid, access_key, permission=permission, note=note)
result.print_object()