binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831 stars 628 forks source link

webSocket#onTickerEvent VS webSocket#onCandlestickEvent #364

Open malakeel opened 3 years ago

malakeel commented 3 years ago

Not sure the difference between onTickerEvent vs onCandlestickEvent. I noticed that candleStickEvent sends multiple events with the same openTime. For example a subscription with ONE_MINUTE interval, results in multiple events. I was hoping to try onTickerEvent to see if the results are any different. Some javadoc may help here.