To solve https://github.com/wisespace-io/binance-rs/issues/61 and https://github.com/wisespace-io/binance-rs/issues/74, we need a
Config struct. This was my first attempt to make one.
I made a new
new_with_config function in the
Binance trait. We could also change the signature of the existing
new function, but that would be an API breaking change. @wisespace-io: Please let me know what you think is best.
This PR was for early feedback, what I want to do for sure is:
- add binance futures to the config
- make make easy convenience methods to switch from default to binance-us or testnet
&strtypes instead of
String, but I need to learn a bit more Rust to do this.
All feedback welcome!