Skip to main content

place_order_with_identity

Function place_order_with_identity 

Source
pub async fn place_order_with_identity(
    client: &FutuClient,
    params: &PlaceOrderParams,
) -> Result<PlaceOrderResultWithIdentity>
Expand description

下单并返回 numeric orderID 与无损 orderIDEx

参照版本在成功响应中同时返回二者。新调用者需要把订单身份跨 JSON、脚本或 modify/cancel 流程传递时应使用本函数;既有 place_order 保持原返回类型。