pub fn market_buy_using_quote_quantity<S, F>(
        &self, symbol: S, quote_order_qty: F,
    ) -> Result<Transaction>
    where
        S: Into<String>,
        F: Into<f64>,
    {
        let buy: OrderQuoteQuantityRequest = OrderQuoteQuantityRequest {
            symbol: symbol.into(),
            quote_order_qty: quote_order_qty.into(),
            price: 0.0,
            order_side: OrderSide::Buy,
            order_type: OrderType::Market,
            time_in_force: TimeInForce::GTC,
        };
        let order = self.build_quote_quantity_order(buy);
        let request = build_signed_request(order, self.recv_window)?;
        self.client.post_signed(API::Spot(Spot::Order), request)
    }
// Place a MARKET order with quote quantity - BUY
Place a MARKET order with quote quantity - BUY
Place a MARKET order with quote quantity - BUY
pub fn market_buy_using_quote_quantity<S, F>(
        &self, symbol: S, quote_order_qty: F,
    ) -> Result<Transaction>
    where
        S: Into<String>,
        F: Into<f64>,
    {
        let buy: OrderQuoteQuantityRequest = OrderQuoteQuantityRequest {
            symbol: symbol.into(),
            quote_order_qty: quote_order_qty.into(),
            price: 0.0,
            order_side: OrderSide::Buy,
            order_type: OrderType::Market,
            time_in_force: TimeInForce::GTC,
        };
        let order = self.build_quote_quantity_order(buy);
        let request = build_signed_request(order, self.recv_window)?;
        self.client.post_signed(API::Spot(Spot::Order), request)
    }
pub fn market_buy_using_quote_quantity < S , F > ( & self , symbol : S , quote_order_qty : F , ) -> Result < Transaction > where S : Into < String > , F : Into < f64 > , { let buy : OrderQuoteQuantityRequest = OrderQuoteQuantityRequest { symbol : symbol . into ( ) , quote_order_qty : quote_order_qty . into ( ) , price : 0.0 , order_side : OrderSide :: Buy , order_type : OrderType :: Market , time_in_force : TimeInForce :: GTC , } ; let order = self . build_quote_quantity_order ( buy ) ; let request = build_signed_request ( order , self . recv_window ) ? ; self . client . post_signed ( API :: Spot ( Spot :: Order ) , request ) }
Place a MARKET order with quote quantity - BUY
Place a MARKET order with quote quantity - BUY
&self
symbol
S
quote_order_qty
F
&self
symbol
S
quote_order_qty
F