Skip to main content

query_order_info_strict_for_push_refresh

Function query_order_info_strict_for_push_refresh 

Source
pub async fn query_order_info_strict_for_push_refresh(
    backend: &BackendConn,
    acc_id: u64,
    trd_cache: &TrdCache,
    order_ids: &[String],
    security_type: Option<u32>,
    exchange: Option<&str>,
) -> Result<Vec<CachedOrder>>
Expand description

Strict order detail query for C++ push-refresh parity.

C++ receives NOTICE_TYPE_ORDER_UPDATE / NOTICE_TYPE_ORDER_OP_RESULT and calls QueryOrderInfo (4707/14707) with the pushed order IDs, rather than running a full OrderListReq (4708/14708). This matters for terminal states such as Deleted(23), which can be visible through the detail path while the current-order list omits them.