Atem Serem

Results 69 comments of Atem Serem

Dear @Kiessar, the minimal code is this one : https://github.com/Atem18/kraky#websocket The memory seems to jump really fast over 5 minutes without any reasons. The best would be if I could...

@Kiessar Of course yes I am using both public and private API as in the example.

@Kiessar, Ubuntu with only kraky as deps. And the memory was increasing suddently after multiples hours.

@Kiessar Ok, and I will try to use memray from Bloomberg

@Kiessar In your script, the pairs is not "ALGOXBT" but "ALGO/XBT". Also pairdatas is not defined so you should fix that also. Finally when you have the "socket.send() raised exception."...

@Kiessar To be honest, I am not sure why you are getting this error. As you can see here: https://github.com/Atem18/kraky/blob/master/kraky/ws.py If you use my methods, I am catching the websockets...

@Kiessar So you got again a « socket.send() raised exception. » ? Do you have the stack trace ? That way I can know if it failed when trying to...

@Kiessar The main code is the function connect. As you can see, I am doing in infite loop and try catch in case an error occurs on the socket. In...

> Just a question, is it necessary to close the websockets graefully after websockets.open is false? Just like any connection, it's better if you can. There is a method that...