harwee / IQOption-Api

** Unmaintained ** I have rewritten some of the functionality using async if you are want to use the updated code you can use the code from `async` branch
Apache License 2.0
53 stars 54 forks source link

Sometime socket is already opened or closed and python throws an error #11

Closed zmedia786 closed 5 years ago

zmedia786 commented 6 years ago

Hello sometimes the socket is open and sometimes it is closed. Can you kindly place a check when socket is not opened it opens the socket and when it is already opened then executes the remaining code.

harwee commented 6 years ago

yeah, that is a known problem, I think the problem is with heartbeat, It's not implemented on client side. I will look into it.

jackynguyen93 commented 6 years ago

do we have a fix version for it

tayyabghumman commented 6 years ago

have you fixed this issue ?

mjdileep commented 6 years ago

start_socket_connection() is already called in login function. That's why. Please check. image