Skip to main content

set_trade_pwd

Function set_trade_pwd 

Source
pub async fn set_trade_pwd(account: &str, from_stdin: bool) -> Result<()>
Expand description

futucli set-trade-pwd --account <id> —— 把交易密码写入 OS keychain。

每个登录账号一条独立条目(username = trade-password.<account>),避免 多账号互相覆盖。futu-mcp 读取时通过 --trade-pwd-account / FUTU_TRADE_PWD_ACCOUNT 选择对应条目。