from huobi.client.margin import MarginClient from huobi.constant import * from huobi.utils import * margin_client = MarginClient(api_key=g_api_key, secret_key=g_secret_key) transfer_id = margin_client.post_transfer_out_margin(symbol="eosusdt", currency="usdt", amount=20) LogInfo.output("transfer id : {id}".format(id=transfer_id))