Skip to main content

Module account

Module account 

Source
Expand description

futucli account / position / order / deal — 只读账户查询

本模块只承载账户/持仓/订单/成交查询;下单、改单、撤单等写命令在 trade_ext.rs,并由 CLI 层的 --confirm / env / scope guard 控制误操作风险。

Re-exports§

pub use list::list_accounts;
pub use list::resolve_account_locator;

Modules§

list 🔒

Structs§

CashInfoJson 🔒
v1.4.103 (deger P1): 单币种 cash detail (for cash_info_list).
DealJson 🔒
DealRow 🔒
FundsJson 🔒
FundsRow 🔒
MarketInfoJson 🔒
v1.4.103 (deger P1): 单市场 assets detail (for market_info_list).
OrderJson 🔒
OrderRow 🔒
PosJson 🔒
PosRow 🔒

Functions§

build_header 🔒
deals
format_pl_ratio_percent 🔒
funds
orders
parse_trd_env
parse_trd_market
parse_trd_market_for_write
v1.4.102 codex 27 F7 (P1) fix: write path 专用 parser, 显式拒 fund market.
positions
trd_market_int_to_str 🔒
v1.4.103: trd_market enum int → 字符串.
trd_side_label 🔒