heshiming/ibga

Reconnecting Sessions

bitmanip opened this issue · 5 comments

Is there a way to reconnect sessions when other logins are detected? It would be ideal if the gateway session would always take back control. Maybe a configuration option?

Screenshot 2024-01-09 at 10 27 49 AM

Automatically clicking this button would make IBG compete with your other sessions. You are aware of the session when you log into the other software, supposedly trying to do something manually.

Do you want IBG to steal that session? Or do you want to wait for a few minutes before doing so?

Yes. I am aware. Ideally I would like IBG to disconnect any other sessions and always be the primary gateway. I need to keep it connected to the market at all times and this seems like a potential risk.

Ok, sounds like you have deployed a system, which I admire. I'll make this an option soon and let you know via this thread.

Hi, I just noticed that your message is on the initial startup of IBG, not in the middle. So in the latest update, I decided to make it mandatory and default to kick out the existing session upon start. But it'll kick session just once.

I have updated the docker image, so if you pull now, it'll include the change.

Thanks a bunch. This is an excellent change. Really appreciate the help, and yes, I have deployed a system that is actively trading.