顯示已登入帳號

顯示目前已登入的帳號資訊。

input
api.login_info() 
output
{'證券': {'broker_id': 'xxxx', 'account': 'yyyyyyy'}, 
 '複委託': {'broker_id': 'xxxx', 'account': 'yyyyyyy'}} 

Attribute

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

Return Attribute

參數 說明
key 帳戶類型,如「證券」、「期貨」、「複委託」。
broker_id 券商代碼。
account 帳號。