You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding the TWSPoller thread, I do like the idea and I have an enhancement request. I would like a callback to be called from the TWSPoller thread when the connection is lost and also when it's re-established. This is needed so that I can keep a flag when the connection is lost and then when its re-established I can clear the flag and use it to issue request executions, open orders, portfolio etc.
I believe there is a EWrapper callback connectionClosed() from IB API, but since TWSPoller thread automatically tries to reconnect, I would like a callback from the poller thread to notify me when it has successfully reestablished connection.
The text was updated successfully, but these errors were encountered:
Regarding the TWSPoller thread, I do like the idea and I have an enhancement request. I would like a callback to be called from the TWSPoller thread when the connection is lost and also when it's re-established. This is needed so that I can keep a flag when the connection is lost and then when its re-established I can clear the flag and use it to issue request executions, open orders, portfolio etc.
I believe there is a EWrapper callback connectionClosed() from IB API, but since TWSPoller thread automatically tries to reconnect, I would like a callback from the poller thread to notify me when it has successfully reestablished connection.
The text was updated successfully, but these errors were encountered: