wisespace-io / binance-rs

Rust Library for the Binance API
Other
665 stars 297 forks source link

Adds !ticker@arr support for websockets. #4

Closed durango closed 6 years ago

wisespace-io commented 6 years ago

@durango Could you fix the example? You forgot to import the DayTickerEvent

use binance::model::{AccountUpdateEvent, KlineEvent, OrderTradeEvent, TradesEvent, DayTickerEvent};

You can also call all_trades_websocket();

durango commented 6 years ago

You can also call all_trades_websocket(); Not sure what you meant by this

wisespace-io commented 6 years ago

I meant to call the method you added otherwise we will get a compiler warning as it is never used.

warning: function is never used: all_trades_websocket

However, I can fix that later. Thank you for the contribution