wisespace-io / binance-rs

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

Feature/add orders with quote quantities #73

Closed dorak88783 closed 3 years ago

dorak88783 commented 3 years ago

The binance API also allows market orders where the quote quantity is specified, instead of the base quantity. This PR adds this functionality.

There's now quite a bit of repetition in the implementation. I don't know exactly what the best way to solve that is, but that can be improved later.