Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TWSPoller Thread - enhancement request - callback when a connection is reestablished. #38

Open
mwahal opened this issue Jul 2, 2015 · 0 comments

Comments

@mwahal
Copy link

mwahal commented Jul 2, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants