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
830 stars 622 forks source link

onCandlestickEvent timeout after 3-4 days #436

Open czetsuya opened 1 year ago

czetsuya commented 1 year ago

What: When listening for onCandlestickEvent event it runs correctly for the first few days but suddenly stops getting data. Upon Googling I found out that it expires after 24 hours. Is there an already available API method to extend the session? I notice that there is one for use data stream but can't seem to find the one for candles.

If none, what's the best way to fix it?