Open cdgn-coding opened 5 years ago
You can try replacing https://github.com/harwee/IQOption-Api/blob/async/iqoption_api/api.py#L147 with await self.establish_socket_connection_and_run()
, that should re establish the socket connection when it is dropped.
Hello, first of all thank you very much for your effort constructing this library.
I'm using this library to test strategies. Sometimes the connection gets closed, I was thinking that an optional auto reconnect feature may be useful for this.
I would help you implement this if we think of an implementation before hand.
Regards