Jan
18
2 days ago
Jan
17
3 days ago
Activity icon
fork

lexstudium forked wisespace-io/binance-rs

⚡ Rust Library for the Binance API
lexstudium Updated
fork time in 2 days ago
started
started time in 2 days ago
Jan
14
6 days ago
Jan
12
1 week ago
Activity icon
fork

bears-team forked wisespace-io/binance-rs

⚡ Rust Library for the Binance API
bears-team Updated
fork time in 1 week ago
Jan
11
1 week ago
Activity icon
issue

thetrung issue comment wisespace-io/binance-rs

thetrung
thetrung

Creation of config options

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
  • use &str types instead of String, but I need to learn a bit more Rust to do this.

All feedback welcome!

thetrung
thetrung

Why can't I access both new_with_config and Config struct from current crate ? Is it still hidden ?

push

wisespace-io push wisespace-io/binance-rs

wisespace-io
wisespace-io

Add futures user data stream endpoint and futures user stream interface

wisespace-io
wisespace-io

Add futures order update struct to models

wisespace-io
wisespace-io

move new models to futures::model

wisespace-io
wisespace-io

Merge pull request #143 from julesyoungberg/master

Add FuturesUserStream and separate model for futures order update event

commit sha: a0fe382ddf117c7d2772bd50c6ff04b9790c3a28

push time in 1 week ago
pull request

wisespace-io pull request wisespace-io/binance-rs

wisespace-io
wisespace-io

Add FuturesUserStream and separate model for futures order update event

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.

Activity icon
issue

wisespace-io issue comment wisespace-io/binance-rs

wisespace-io
wisespace-io

Add FuturesUserStream and separate model for futures order update event

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
wisespace-io

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

Previous