beatzxbt / bybit-smm

bybit simple market maker
MIT License
398 stars 125 forks source link

Klines websocket pushing incorrect data, causing duplicate timestamps (affects all klines indicators) #5

Closed LevBeta closed 10 months ago

LevBeta commented 10 months ago

Can you explain better this bug? I have been trying to repreduce it, but without any success until now!

beatzxbt commented 10 months ago

Uhh, neither can i...

The issue clearly existed for some time -> https://twitter.com/BeatzXBT/status/1702063950718750949

Now running and watching the code, it's working just fine (It's appended the previous 20 candles without issues). Previously, the duplicates would start even after 2 candles.

I'll leave the issue open incase the bug comes back, and close it in a few days if its working normally. Certainly had to be an issue on Bybit's end, as code is unchanged on my end.

beatzxbt commented 10 months ago

Seems to be working fine, closing this.