-
Notifications
You must be signed in to change notification settings - Fork 181
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
How to suppress Bid, Ask and Last Size Display Update message? #134
Comments
[NB: IBC 3.8.7 doesn't fix the SSL issue: I've yet to release a version that does. I expect you selected the option to run with SSL when Gateway displayed that SSL message, and that makes a permanent configuration change.] Regarding the 'Bid, Ask and Last Size Display Update' message, the problem here is that presumably Gateway records the fact that you checked the 'Don't display this message again' checkbox in its settings file, on the assumption that the next time you run Gateway it will check that setting and act accordingly (ie not display the message again). I suspect your settings file is not stored in state-persisting filestore, so when you run your image again it loads a copy that hasn't recorded the fact that the checkbox was clicked (probably the file that was created when Gateway was installed). There are two different approaches to solve this:
Please note, I don't intend to update IBC to handle this dialog. I don't think that's the right thing to do. |
Yes, I added I also tried to find the correct property in Hopefully, I or someone else will be able to find out how to suppress it. However, it is not limiting the functionality, as far as my tests indicate. Cheers |
The record of the message having been shown before is not in jts.ini. That's because jts.ini is only for things that are not user-related: IB clearly want every user to see this message and acknowledge it. So this will be recorded in the per-user settings file ibg.xml for gateway and tws.xml for TWS. These files are stored in a folder with a long name, for example C:\Jts\fcenjfkpcboicdnfienbgnkekhifhnllmnlhgcin for the paper-trading user in my Windows installation (the folder name will be different for different users), and it is that folder that needs to be either included in your Docker image or held in persistent storage. If you're only running Docker for a single user, that should be easy enough to arrange. If you're needing to be able to run up a single Docker image for multiple users (perhaps hundreds if you're running a commercial service of some sort) then I understand that you have a problem, and I don't know what the solution is offhand (the problem being that there is no way that I know of to predict the folder name that will be used for an arbitrary username). It's late here in Scotland and I'm desperately tired, so I'll have to end this here. It may be that I will have to relent and provide a handler for that dialog, but it seems a ridiculous thing to have to do. By the way, this topic was discussed in #10 and #14 but never came to any satisfactory conclusions. |
Same problem here. Since I updated my docker image, market data doe not work anymore until I logon via VNC to approved that message. |
btw.. always need to think on that when working with IBC |
I've decided I will add a setting in config.ini to enable this dialog to be handled automatically. Please be patient... |
I've done an enhancement that deals with this, but there are some 'pitfalls for the unwary' which need to be spelled out (because what's going on here has not been adequately described by IB). So I haven't pushed the commits yet. I'll continue working on it tomorrow night (Monday) and hope to issue a new release then. |
Release 3.10.0 is now available and enables this dialog to be handled automatically. |
Works like a charm, thank you. |
Hi Richard,
I've re-built my IB gateway docker image with the latest beta 10.10.2f and IBC 3.8.7 to fix the SSL issue, which worked. But I noticed there is a new pop up message appearing, which I couldn't suppress with any config switch found in the IBC config.ini, so far. I also looked into the jts.ini after start-up / dismissing that window and I didn't see anything obvious.
IBC's window related options are:
Do I miss something? The "Lean More" points to
Send market data in lots of US stocks for dual-mode API clients
option on the settings page.Cheers, Paul
The text was updated successfully, but these errors were encountered: