wisespace-io / binance-rs

Rust Library for the Binance API
Other
669 stars 300 forks source link

binance future customer order request can not set newClientOrderId #204

Open jackbbhua opened 1 year ago

jackbbhua commented 1 year ago
    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.