wisespace-io / binance-rs

Rust Library for the Binance API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binance future customer order request can not set newClientOrderId

jackbbhua opened this issue · 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.