顯示帳號資訊

此功能可查詢目前此ID下有哪些帳戶

input
api.show_account() 
output
[{'account': 'xxxxxxx', 'account_flag': '證券', 'broker_id': 'yyyy'}, 
{'account': 'xxxxxxx', 'account_flag': '期貨', 'broker_id': 'yyyyyyy'}, 
{'account': 'xxxxxxx', 'account_flag': '複委託', 'broker_id': 'yyyy'}]

Attribute

無需設定參數,只調用實例本身。

Return Attribute

參數 說明
account 一個包含用戶身份信息的 Account 實例,允許進一步的API操作。
account_flag 帳戶類型,ex:’證券’,’期貨’,’複委託’
broker_id 用戶Account的broker代碼。