Skip to main content

get_order_fee

Function get_order_fee 

Source
pub async fn get_order_fee(
    client: &FutuClient,
    header: &TrdHeader,
    order_id_ex_list: &[String],
) -> Result<Vec<OrderFee>>
Expand description

查询订单费用(按 order_id_ex 列表)

对齐 C++ TRD_GET_ORDER_FEE(proto_id 2225),接收扩展订单号列表, 返回每个订单的费用总额 + 明细拆分(佣金、平台费、印花税等)。

典型调用时机:下单后或撤单前估算费用。