wisespace-io / binance-rs

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

Add FuturesUserStream and separate model for futures order update event #143

Closed julesyoungberg closed 2 years ago

julesyoungberg commented 2 years ago

Great library! I hope I can contribute something useful.

I've added a FuturesUserStream implementation based on the UserStream and the futures docs. Additionally, I noticed the ORDER_TRADE_UPDATE event was incorrectly matching the LiquidationEvent type for futures websocket events. I added types to correctly match and parse that event based on the docs. Happy to make any needed adjustments.

wisespace-io commented 2 years ago

@julesyoungberg Thanks for fixing the issue with the ORDER_TRADE_UPDATE and for adding FuturesUserStream support.