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
834 stars 627 forks source link

issue getting mixed candlestick #419

Closed JamesDee13 closed 2 years ago

JamesDee13 commented 2 years ago

I'm calling onCandlestickEvent for streaming and getting mixed candlestick data, it returns about 10 candlesticks right data then on next minute it suppose to be new candlestick data but it still print out mixing with previous data even the data running for 5 mins it is still print out the first candlestick data mixing with data from minute 2,3,4 turning out it is totally a mess. Anyway for fixing this, guys ?