Skip to main content

cancel_all_order

Function cancel_all_order 

Source
pub async fn cancel_all_order(
    client: &Arc<FutuClient>,
    env: &str,
    acc_id: u64,
    market: &str,
) -> Result<String>
Expand description

全部撤单。内部用 ModifyOrder proto 带 for_all=true + op=Cancel + order_id=0。 风险提示:立即撤销该账户指定市场(market 空时全账户)所有 pending 订单,不可恢复。