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/margin/get_margin_account_balance.py

9 lines
275 B

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)
list_obj = margin_client.get_margin_account_balance(symbol="eosusdt")
LogInfo.output_list(list_obj)