用了:
account = api.get_account()
print(account.user_id)
不行啊!
目前没有这个数据字段,account中有的字段在:https://doc.shinnytech.com/tqsdk/latest/reference/tqsdk.objs.html#tqsdk.objs.Account