wisespace-io / binance-rs

Rust Library for the Binance API
Other
687 stars 305 forks source link

How to create a margin limit/market order? #230

Open mxaddict opened 9 months ago

mxaddict commented 9 months ago

How to create a margin limit/market order?

I see this:

            match account.market_buy(SYMBOL, order_quantity) {
                Ok(res) => {
                    info!("Buy Order: {:?}", res);
                },
                Err(err) => {
                    error!("{:?}", err);
                }
            }

But can't find a way to do a margin order.