binance-exchange/binance-java-api

onCandlestickEvent timeout after 3-4 days

czetsuya opened this issue · 0 comments

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?