binance-rs icon indicating copy to clipboard operation
binance-rs copied to clipboard

binance future customer order request can not set newClientOrderId

Open jackbbhua opened this issue 1 year ago • 0 comments

    let custom_order = CustomOrderRequest {
        symbol: "SRMUSDT".into(),
        side: OrderSide::Sell,
        position_side: None,
        order_type: OrderType::StopMarket,
        time_in_force: None,
        qty: None,
        reduce_only: None,
        price: None,
        stop_price: Some(7.4),
        close_position: Some(true),
        activation_price: None,
        callback_rate: None,
        working_type: None,
        price_protect: None,
    };

can you please add the newClientOrderId? thanks.

jackbbhua avatar Mar 07 '23 13:03 jackbbhua