ohenrik / bitfinex

A Python client for the Bitfinex API
MIT License
58 stars 32 forks source link

Issue with websocket candles response #23

Closed judasbenhur closed 5 years ago

judasbenhur commented 6 years ago

Not really sure if its an issue or not but I'm trying to gather real-time candle data and save it in a list using the websocket subscribe_to_candles response.

Now while this works for the most part I noticed that occasionally some minutes can get missing or there is no response for those minutes. Does anyone else have this problem or is it a known issue of the Bitfinex API response?

ohenrik commented 6 years ago

Is this on a 1 minute candle interval?

I have not checked this yet, however, it might be because there are no trades (no volume) during that minute. I'm not sure if Bitfinex issues a new candle if there were no activity. Also make sure you listen for new candles, not just candle updates.