wisespace-io / binance-rs

Rust Library for the Binance API
Other
649 stars 295 forks source link

Add support for custom orders #63

Closed Netherdrake closed 3 years ago

Netherdrake commented 3 years ago

Usage:

    match account.custom_order(PAIR, 9999, 0.0123, "SELL", "LIMIT", "IOC") {
        Ok(answer) => println!("{:?}", answer),
        Err(e) => println!("Error: {}", e),
    }

Also fixes https://github.com/wisespace-io/binance-rs/issues/62

wisespace-io commented 3 years ago

@Netherdrake Thank you for the contribution