Skip to main content

get_funds

Function get_funds 

Source
pub async fn get_funds(client: &FutuClient, header: &TrdHeader) -> Result<Funds>
Expand description

查询账户资金 (向后兼容入口, 不传 currency).

高层 gateway 会在用户未传 currency 时按券商派生默认资金视图币种 (FutuHK=HKD / FutuInc=USD / FutuCA=CAD 等)。直连底层 client 的调用者 若需要指定币种,可改用 get_funds_with_currency