Skip to main content

get_acc_list

Function get_acc_list 

Source
pub async fn get_acc_list(client: &FutuClient) -> Result<Vec<TrdAcc>>
Expand description

获取账户列表(C++ 默认语义)。

Trd_GetAccList.C2S.needGeneralSecAccount 在 C++ OpenD 默认缺省为 false: HK/US/SG/AU 综合账户体系下 enTrdMkt == 6 的证券账户默认隐藏。需要 discovery 视图的 caller(例如 futucli account)应显式调用 get_acc_list_with_options 并传 need_general_sec_account=true