开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
The IBController Users' Group
This group relates to IBController, the open source program that automates login to Interactive Brokers' Trader Workstation and Gateway. Please use this group to discuss any topic relating to IBController. Note that nearly all the problems users have with IBController are due to misconfiguration, so if you can't make it work it's best to post here first. However if you're fairly sure that there's a fault in IBController, please [raise an issue](https://github.com/ib-controller/ib-controller/issues) on GitHub and provide as much evidence as you can. This Group will also be the primary means of announcing new releases of IBController, so if you are subscribed here you don't also need to be registered with GitHub.. The source code for IBController is hosted on GitHub [here](https://github.com/ib-controller/ib-controller).
Started by Richard L King @
IBController Release 3.2.0-beta.1 3
A new release of IBController is now available from GitHub at: https://github.com/ib-controller/ib-controller This release provides support for TWS 955, and also contains new script files for OS X users. If you already have a working installation of IBController using TWS 952 or earlier, you do not need to upgrade to this release. Please note: 1. This release is marked as a beta release only because it contains new script files for OS X users, which have not yet been thoroughly validated. If you are an OS X user, please test the scripts and raise any issues you find. 2. Windows and Linux users may treat this as a production (ie non-beta) release. 3. The scripts (ie .bat and .sh files) provided in all previous IBController releases (including 3.0.0 and 3.0.1) must now be replaced with the new scripts in this IBController release. 4. If you already have a working installation of IBController using TWS 952 or earlier, you do not need to upgrade to this release. This release adds support for TWS 955. Thus it can be used with all TWS versions from TWS 952 onwards. Here are some other significant changes: * with TWS 955, the dialog warning that this is a non-brokerage account when logging in to a paper trading or demo account is automatically handled. This action is controlled by a new IBController.ini file setting AcceptNonBrokerageAccountWarning. This setting has a default of yes, so you only need to include it in your IBController.ini file in the unlikely event that you want to set it to no, in which case the user must manually deal with the dialog. Note that if you set AcceptNonBrokerageAccountWarning=no, API connections to TWS/Gateway will not succeed until the user has dismissed the dialog. * there is a new TradingMode setting in IBController.ini. When using TWS 955 or later, this indicates whether the live or paper trading account is to be used when live account credentials are used. The allowed values are live and paper. Note that if the username and password are for a paper trading account or a demo account, this setting is ignored. The default value is live: this means that you only need to include TradingMode in IBController.ini where you want to set TradingMode=paper. * the ShowAllTrades setting in IBController.ini is ignored for TWS 955 and later. This is because the Trades window now allows you to specify for which days it should show trades, and this setting is preserved between sessions. IBController is not able to manage this setting for technical reasons. So if you currently have ShowAllTrades=yes in your IBController.ini, you must manually open the Trades window and make the appropriate settings. * the script files have been extensively revised. Those which may need to be changed by the user have a new layout that makes it clearer what may need to be changed and why. * the IBController startup sequence now automatically logs diagnostic information to a file. This information should make it much easier to diagnose problems when setting up and running IBController. The log file name is prominently displayed during the startup sequence. A new log file is created the first time IBController is run each day, and any subsequent restarts that day are appended to the same file. The file is preserved until the next time IBController is started on the same day of subsequent weeks.
Started by Richard L King @ · Most recent @
Feature request: days of operation 3
Simply put, allow us to specify on which days IBC loads on. A string would be simple: "MTWRF"/"M-F","U-A" (sUnday-sAturday). Digits would be simple (still as strings): "1,2,3,4, 5"/"1-5", "0-6". More sophisticated, but nice, would be allowing a holiday list when the software won't load, even if it otherwise would: "1-1-2016, 1-18-2016, 2-15-2016, 3-25-2016[...]" I currently call IBC with a batch file that does this for me, but obviously that's clunky. --Joe
Started by Joe/Broom @ · Most recent @
IBController Release 3.2.0-beta.2
I've just made an update to the recent IBController 3.2.0-beta.1 release, renaming it to IBController 3.2.0-beta.2 and including a new zip file. This fixes a couple of things that have been reported since the initial release. 1. The User Guide pdf is now included in the zip file. 2. The Unix scripts have #!/bin/bash added as the first line. 3. The incorrect setting in line 94 of IBController.sh has been fixed. There are no changes to IBController functionality. Richard
Started by Richard L King @
Thank you 10
Let's start this off right - THANK YOU, Richard, for creating, maintaining, and generally babysitting this very useful piece of software. --Joe Marfice/IAmBroom@...
Started by Joe/Broom @ · Most recent @
secure device question 7
Am moving a system to IB and still setting up node-ib and some automation and found your code. I haven't funded the account yet so I'm still keying in codes from a sheet but I understood that once I fund, they would send me a keyfob secure device. How does ibcontroller handle that? I looked at your code and nothing jumped out at me so I assume this secure device is optional? or I'm just confused, which is more likely. thanks!!
Started by Andrew McIntyre @ · Most recent @
DisplayBannerAndLaunch.sh in IBControllerGatewayStart.sh 3
Hello, I notice?IBControllerGatewayStart.sh is modified in?IBControllerGatewayStart.sh (https://github.com/ib-controller/ib-controller/blob/master/resources/IBControllerGatewayStart.sh),?And I find no shell script named?DisplayBannerAndLaunch.sh in the project.? BR -Jack
Started by Jack Tang @ · Most recent @
IBController Release 3.2.0 3
I've just released the final version of the IBController 3.2.0 release, to replace the recent 3.2.0-beta release. You can download the zip file from GitHub: https://github.com/ib-controller/ib-controller There are a few bug fixes, mainly in the script files (ie the .bat and .sh files), so I would encourage all who are using TWS 952 or later to upgrade to this version. Note that this release fully supports TWS 956, which is now designated as IB's current 'latest' offline version. Please report any problems or bugs here or via GitHub. Richard
Started by Richard L King @ · Most recent @
Subject: IBController - the future
I've been looking after IBController since 2003, maintaining the code, developing new features, and supporting users. My aim has always been to make it a useful tool that anyone can use to improve their experience of working with Interactive Brokers' Trader Workstation and Gateway. My philosophy in supporting users has been to respond to their problems or suggestions as soon as possible, and to try to understand why it is that they have such problems and, if possible, to remove or alleviate these causes. The amount of time I've had to commit to this task has varied widely over the years, from periods of months where there has been practically nothing to do, to times when it's been truly taxing to get everything done along with my everyday work and life. The last few months since IB introduced their new packaging with TWS 952 has been one of those difficult periods, and it has caused me to re-evaluate my relationship to IBController. As a result, I've decided that I need to bow out from my role as guardian of IBController, and hand it over to someone else. So today I'm pleased to be able to announce that with immediate effect, IBController will have a new champion in the person of Jared Broad (email Jared Broad jared@... <mailto:jared@...> ). Jared is the mastermind behind a young and dynamic company who use IBController within their commercial offerings, and he has a vested interest in ensuring that it continues to work well with current and future versions of TWS/Gateway. He is committed to further developing IBController to make it easier to install and use, and to introduce innovations that will make it easier for users with special requirements to adapt it to their needs without having to fork the project. Future IBController development will be undertaken by an experienced Java developer, under Jared's management, and employed by his company. I expect to contribute some guidance and background understanding in the coming days or weeks while the new developer gets up to speed. Also as a full-time user of IBController myself, I will feel free to make comments and suggestions via GitHub as IBController evolves. IBController will of course remain completely free and open source, and licensed under the GPL version 3. If you have any questions or concerns arising from this announcement, please post them on the IBController User Group at /g/ibcontroller. Thanks for your often flattering appreciation of my efforts over the past 13 years. Richard King
Started by Richard L King @
IBController - the future
Congratulations, Richard! And hurray for the new developers!
Started by Joe/Broom @
Unresolved references 2
There are 2 variables, ibgateway and jclient, when I try to compile the program. How are these resolved?
Started by A R @ · Most recent @
How to setup IBController (3.2.0) + TWS (build 956) on headless Ubuntu 16.04 LTS to run TWO accounts (paper + real) in 10 minutes 6
Hi Team, Just finished my "couple evenings journey" of setting up empty latest "Long-Term Support" Ubuntu 16.04 to automagically run 2 instances of IBController + TWS. The headless ubuntu box runs in Amazon EC2 cloud and uses systemd to start 4 services on boot: 1) xvfb - virtual frame buffer (to emulate display) 2) x11vnc - VNC server (optional for operation) 3) IBController for paper account TWS instance 4) IBController for real account TWS instance System recovers in seconds even after you "kill -9" any of above processes (including virtual frame buffer, which will crash them all) since all 4 services are now chained in proper dependencies/boot-sequence upon each other. Documented all *the right* steps here <https://goo.gl/QPdWLW>. Hope it helps someone, Dmitry
Started by Dmitry Shevkoplyas @ · Most recent @
Running on Linux in AWS 4
I read through the blogs about the 2 factor authorization. Here is what I am trying to do and want to solicit input from this group.? I want to run this as a headless TWS/IBcontroller on Linux in AWS because I cannot RDP and cannot run a local X server. I want IBController to prompt for user id, password and the 2 factor code. I have the electronic kind for 2nd factor which outputs new a code every 15 seconds or so. I want IBController to login to TWS and then I want to upload a list of trades (a basket trade) and then shut down TWS and IBController. Anyone have the same need? Any issues? Thanks
Started by A R @ · Most recent @
Task Scheduler
When I run IBControllerStart.bat manually, it runs fine. When I call it from Task Scheduler it produced an error that /may/ say "path not found" - but it comes and goes so fast I can't read it for sure. It happens on the last line of the batch file, of course. Exact same batch file. I tried it with logging turned on, but can't find any output files. Suggestions?
Started by Joe/Broom @
Task Scheduler
I found the problem, and want anyone else with it to see the solution. Tasks started by Windows' Task Scheduler do not (necessarily) begin in the same working directory as when they are started by hand. Mine starts in C:\Windows\System32. One solution might be to specify the directory when creating the Task; I didn't try this. Instead, I added the following two lines to the beginning of IBControllerStart.bat: C: cd C:\IBController Obviously, these should be adjusted for where your instance actually resides. The first command isn't really needed, but the CD (ChangeDirectory) command does not actually take effect yet if the drive of the current directory is on another drive - so I include it as good programming practice. ' | Broom IAmBroom @ gmail . com ' | cellphone: 412-389-1997 ' | 1838 Spring Garden Ave, Pittsburgh, PA 15212 '\|/ "Discere et docere", which means: '/|\ "If they can get you asking the wrong questions, they don't have //|\\ to worry about the answers." - Thomas Pynchon
Started by Joe/Broom @
Calling IBC from Java 7
Hello, After a long back and forth with IB support, I'm forced to try to upgrade TWS in order to solve an issue with API messaging. ?Previously, I used the method below to launch/close IBController/TWS. ?I'm now hoping to update this to work with IBC 3.2 and TWS 956. ?IBC is working fine as a standalone, but I was hoping to get some help updating the following arguments as it seems the new versions (TWS & IBC) work quite a bit differently than in the past. ?Essentially, I used to be able to replicate what was in the last line of sampleIBControllerStart.bat for my startCmd. ?If anyone can point me in the right direction under the new set up, I would appreciate it. ?Thanks. ?-B private static String javaOpts = " -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true -Xmx1024M -XX:MaxPermSize=256M"; private static String startCmd = "C:\\Windows\\sysWOW64\\java.exe -cp " + "C:\\Jts\\jts.jar;C:\\Jts\\total.2012.jar;C:\\IBController\\IBController.jar" + javaOpts+ " ibcontroller.IBController C:\\IBController\\IBController.ini";????????????????mTwsProcess = Runtime.getRuntime().exec(startCmd); ????????????try? { OutputStream output = new FileOutputStream(TWSerrorsFile, true); PrintStream errFile = new PrintStream(output); mTwsProcess = Runtime.getRuntime().exec(startCmd); // NOTE: reading the output from the "execed" process is essential, otherwise it will block (even if you don't display it on the console) PipeStreams.pipe(mTwsProcess.getInputStream(), errFile); //PipeStreams.pipe(System.in, mTwsProcess.getOutputStream()); PipeStreams.pipe(mTwsProcess.getErrorStream(), errFile); }?
Started by B Talladell @ · Most recent @
IBController does not see TWS 2
Hi, I am new to IB Controller, just downloaded release 3.2.0. Following the instructions I launched IBControllerStart.bat and IBControllerGatewayStart.bat on Windows, but I get a warning message relating to a log file, where it says that TWS is not installed. The weird thing, besides that TWS 952.2 is installed, is that the a.m. .bat files recognized the right TWS version. Could you please help me to understand how to proceed? Thank you in advance Martin
Started by martin@... @ · Most recent @
IBControllerGateWayStart 3.2 with xvfb-run no longer works 4
I used to (before IBController 3.2 and upgrading to Ubuntu 16.04) run TWS roughly as follows: xvfb-run -a -e /opt/trading/logs/ibgateway_xvfb.log /opt/trading/IBController/IBControllerGatewayStart.sh and it used to work fine. Now, I get a java exception saying it "cannot connect to X11 window server using ':99' as the value of the DISPLAY variable.' xvfb-run still seems to work fine for other executables. Running IBControllerGatewayStart.sh directly works perfectly. Has anyone else experienced anything like this? And/or does anyone know of anything which might have changed to cause this behavior? Thanks, Charles
Started by charles@... @ · Most recent @
Detected frame entitled: DUxxxxxx Exit Session Setting but no reaction from IBController 2
Hi all I can't find out why IBController does not prevent TWS from the automatic shutdown at 23:45. The startup is fine. All dialogs are recognized and clicked away but the window "Exit Session Setting" where you can set the Auto Log Off Time is not handled at all. After the timeout TWS simply closes and won't start again by itself. I am using the Standalone version 957 in english. I observed that behavior on Windows 7 and on Ubuntu 16.04.. What am I doing wrong ? Thanks a lot. Martin ================================================================================ Starting IBController version 3.2.0 on 2016-08-16 at 23:41:46 Operating system: Linux pcmc 3.19.0-66-generic #74~14.04.1-Ubuntu SMP Tue Jul 19 19:56:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Arguments: TWS version = 957 Entry point = ibcontroller.IBController --tws-path = /home/casanova/Jts --tws-settings-path = /home/casanova/Jts --ibc-path = /home/casanova/IBController/ --ibc-ini = /home/casanova/IBController/IBController.ini --mode = --java-path = --user = --pw = ================================= Generating the classpath Classpath=/home/casanova/Jts/957/jars/jts4launch-957.jar:/home/casanova/Jts/957/jars/locales.jar:/home/casanova/Jts/957/jars/log4j-api-2.5.jar:/home/casanova/Jts/957/jars/log4j-core-2.5.jar:/home/casanova/Jts/957/jars/total-2015c.jar:/home/casanova/Jts/957/jars/twslaunch-957.jar:/home/casanova/Jts/957/jars/twslaunch-install4j-1.7.jar:/home/casanova/IBController//IBController.jar Generating the JAVA VM options Java VM Options=-Xmx768m Determining the location of java executable Location of java executable=/home/casanova/.i4j_jres/1.8.0_60_64/bin Starting IBController with this command: /home/casanova/.i4j_jres/1.8.0_60_64/bin/java -cp /home/casanova/Jts/957/jars/jts4launch-957.jar:/home/casanova/Jts/957/jars/locales.jar:/home/casanova/Jts/957/jars/log4j-api-2.5.jar:/home/casanova/Jts/957/jars/log4j-core-2.5.jar:/home/casanova/Jts/957/jars/total-2015c.jar:/home/casanova/Jts/957/jars/twslaunch-957.jar:/home/casanova/Jts/957/jars/twslaunch-install4j-1.7.jar:/home/casanova/IBController//IBController.jar -Xmx768m ibcontroller.IBController /home/casanova/IBController/IBController.ini ? System Properties ------------------------------------------------------------ java.runtime.name = Java(TM) SE Runtime Environment sun.boot.library.path = /home/casanova/.i4j_jres/1.8.0_60_64/lib/amd64 java.vm.version = 25.60-b23 java.vm.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ path.separator = : java.vm.name = Java HotSpot(TM) 64-Bit Server VM file.encoding.pkg = sun.io user.country = US sun.java.launcher = SUN_STANDARD sun.os.patch.level = unknown java.vm.specification.name = Java Virtual Machine Specification user.dir = /home/casanova/Jts java.runtime.version = 1.8.0_60-b27 java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment java.endorsed.dirs = /home/casanova/.i4j_jres/1.8.0_60_64/lib/endorsed os.arch = amd64 java.io.tmpdir = /tmp line.separator = java.vm.specification.vendor = Oracle Corporation os.name = Linux sun.jnu.encoding = UTF-8 java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.specification.name = Java Platform API Specification java.class.version = 52.0 sun.management.compiler = HotSpot 64-Bit Tiered Compilers os.version = 3.19.0-66-generic user.home = /home/casanova user.timezone = Europe/Zurich java.awt.printerjob = sun.print.PSPrinterJob file.encoding = UTF-8 java.specification.version = 1.8 java.class.path = /home/casanova/Jts/957/jars/jts4launch-957.jar:/home/casanova/Jts/957/jars/locales.jar:/home/casanova/Jts/957/jars/log4j-api-2.5.jar:/home/casanova/Jts/957/jars/log4j-core-2.5.jar:/home/casanova/Jts/957/jars/total-2015c.jar:/home/casanova/Jts/957/jars/twslaunch-957.jar:/home/casanova/Jts/957/jars/twslaunch-install4j-1.7.jar:/home/casanova/IBController//IBController.jar user.name = casanova java.vm.specification.version = 1.8 sun.java.command = ibcontroller.IBController /home/casanova/IBController/IBController.ini java.home = /home/casanova/.i4j_jres/1.8.0_60_64 sun.arch.data.model = 64 user.language = en java.specification.vendor = Oracle Corporation awt.toolkit = sun.awt.X11.XToolkit java.vm.info = mixed mode java.version = 1.8.0_60 java.ext.dirs = /home/casanova/.i4j_jres/1.8.0_60_64/lib/ext:/usr/java/packages/lib/ext sun.boot.class.path = /home/casanova/.i4j_jres/1.8.0_60_64/lib/resources.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/rt.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/sunrsasign.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/jsse.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/jce.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/charsets.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/jfr.jar:/home/casanova/.i4j_jres/1.8.0_60_64/classes java.vendor = Oracle Corporation file.separator = / java.vendor.url.bug = http://bugreport.sun.com/bugreport/ sun.io.unicode.encoding = UnicodeLittle sun.cpu.endian = little sun.desktop = gnome sun.cpu.isalist = ------------------------------------------------------------ 23:41:47:022 IBController: using default settings provider: ini file is /home/casanova/IBController/IBController.ini 23:41:47:023 IBController: using default login manager: getting username and password from args but not found. Will get from settings 23:41:47:023 IBController: using default config dialog manager: constructor parameter isGateway=false 23:41:47:023 IBController: using default trading mode manager: constructor parameter args but trading mode not present - will be taken from settings 23:41:47:024 IBController: using default config dialog manager 23:41:47:027 IBController: IBControllerServer is started. 23:41:47:082 IBController: IBControllerServer listening on address: pcmc/127.0.1.1 port: 7462 23:41:47:120 IBController: Ensuring /home/casanova/Jts/jts.ini contains s3store=true 23:41:47:120 IBController: Writing required lines to /home/casanova/Jts/jts.ini 23:41:47:121 IBController: TWS settings directory is /home/casanova/Jts 23:41:48:696 IBController: detected frame entitled: Login; event=Opened 23:41:48:698 IBController: trading mode from settings: tradingMode=paper 23:41:48:698 IBController: Setting Trading mode = paper 23:41:48:800 IBController: detected frame entitled: Login; event=Activated 23:41:48:828 IBController: detected frame entitled: Login; event=Activated 23:41:48:831 IBController: Click button: Login 23:41:49:006 IBController: Button now disabled: Login 23:41:49:401 IBController: detected frame entitled: Authenticating...; event=Opened 23:41:49:419 IBController: detected frame entitled: Authenticating...; event=Activated 23:41:52:043 IBController: detected dialog entitled: Downloading settings from server; event=Closed Jolt logger configuration is done. LogModuleConfigurator-Init: Log4j Ver2.x found on classpath LogModuleConfigurator-Init: LogModuleConfigurator initialized with Log4j Verd.x 23:42:02:895 IBController: detected frame entitled: DU460136 Interactive Brokers (Simulated Trading); event=Opened 23:42:02:896 IBController: Found TWS main window 23:42:03:089 IBController: detected frame entitled: Starting application...; event=Closed 23:42:03:838 IBController: detected frame entitled: DU460136 Interactive Brokers (Simulated Trading); event=Activated 23:42:03:849 IBController: detected dialog entitled: Warning; event=Opened 23:42:03:849 IBController: Click button: I understand and accept 23:42:04:592 IBController: detected dialog entitled: Warning; event=Closed 23:42:25:656 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Opened 23:42:25:673 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated 23:43:26:085 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated 23:43:55:823 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated 23:45:00:751 IBController: detected dialog entitled: Shutdown progress; event=Opened 23:45:00:751 IBController: detected dialog entitled: Shutdown progress; event=Closed 23:45:00:751 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Closed 23:45:01:431 IBController: detected dialog entitled: Uploading settings to server; event=Closed 23:45:01:431 IBController: detected dialog entitled: Uploading settings to server; event=Closed 23:45:02:884 IBController: detected dialog entitled: Uploading settings to server; event=Closed 23:45:03:450 IBController: detected frame entitled: Loading...; event=Closed IBController finished
Started by martin.casanova@... @ · Most recent @
Aw: Detected frame entitled: DUxxxxxx Exit Session Setting but no reaction from IBController 2
Hi Richard ? Thanks for you reply. I tried what you suggested and stratet TWS with IBController at 23:34. (Just setting the system time manually) However it didn't help to solve the problem. ? After 23:40 the "Exit Session Dialog" appears Log: 23:40:30:252 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Opened 23:40:30:273 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated ? For the next 5 minutes the filed to enter the closing time is getting the focus (cursor) automatically followed by entries like 23:43:48:038 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated if the focus was not already on that filed so I think IBController is trying to do something with it. But other than focus setting nothing happens and after 5. min. TWS closes. ? What is actualy supposed to happen e.g. what values should be set? ? My log File is called /home/casanova/IBController/Logs/ibc-3.2.0_TWS-957_Mittwoch.txt since I am in Zurich IBController picks up some German Locale (although my Ubuntu 16.04) is all in english. Dunno if that matters. The Language for IB is set to English. The Region is Europe. Mosaic or Classing TWS dows not matter. I tried with Papper Mode. ? Tx. ? Martin ? ? ? ? Gesendet:?Dienstag, 16. August 2016 um 15:41 Uhr Von:?"Richard L King" <rlking@...> An:[email protected] Betreff:?Re: [ibcontroller] Detected frame entitled: DUxxxxxx Exit Session Setting but no reaction from IBController I think you’re starting IBController too close to the auto-shutdown time. If you start it less than 5 minutes before this time, nothing IBController does will prevent TWS from shutting down. ? So you’ll need to start it before 23:40 for an auto-shutdown time of 23:45. ? Richard ? ? From: [email protected] [mailto:[email protected]] On Behalf Of martin.casanova@... Sent: 16 August 2016 09:13 To: [email protected] Subject: [ibcontroller] Detected frame entitled: DUxxxxxx Exit Session Setting but no reaction from IBController ? Hi all I can't find out why IBController does not prevent TWS from the automatic shutdown at 23:45. The startup is fine. All dialogs are recognized and clicked away but the window "Exit Session Setting" where you can set the Auto Log Off Time is not handled at all. After the timeout TWS simply closes and won't start again by itself. I am using the Standalone version 957 in english. I observed that behavior on Windows 7 and on Ubuntu 16.04.. What am I doing wrong ? Thanks a lot. Martin ================================================================================ Starting IBController version 3.2.0 on 2016-08-16 at 23:41:46 Operating system: Linux pcmc 3.19.0-66-generic #74~14.04.1-Ubuntu SMP Tue Jul 19 19:56:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Arguments: TWS version = 957 Entry point = ibcontroller.IBController --tws-path = /home/casanova/Jts --tws-settings-path = /home/casanova/Jts --ibc-path = /home/casanova/IBController/ --ibc-ini = /home/casanova/IBController/IBController.ini --mode = --java-path = --user = --pw = ================================= Generating the classpath Classpath=/home/casanova/Jts/957/jars/jts4launch-957.jar:/home/casanova/Jts/957/jars/locales.jar:/home/casanova/Jts/957/jars/log4j-api-2.5.jar:/home/casanova/Jts/957/jars/log4j-core-2.5.jar:/home/casanova/Jts/957/jars/total-2015c.jar:/home/casanova/Jts/957/jars/twslaunch-957.jar:/home/casanova/Jts/957/jars/twslaunch-install4j-1.7.jar:/home/casanova/IBController//IBController.jar Generating the JAVA VM options Java VM Options=-Xmx768m Determining the location of java executable Location of java executable=/home/casanova/.i4j_jres/1.8.0_60_64/bin Starting IBController with this command: /home/casanova/.i4j_jres/1.8.0_60_64/bin/java -cp /home/casanova/Jts/957/jars/jts4launch-957.jar:/home/casanova/Jts/957/jars/locales.jar:/home/casanova/Jts/957/jars/log4j-api-2.5.jar:/home/casanova/Jts/957/jars/log4j-core-2.5.jar:/home/casanova/Jts/957/jars/total-2015c.jar:/home/casanova/Jts/957/jars/twslaunch-957.jar:/home/casanova/Jts/957/jars/twslaunch-install4j-1.7.jar:/home/casanova/IBController//IBController.jar -Xmx768m ibcontroller.IBController /home/casanova/IBController/IBController.ini ? System Properties ------------------------------------------------------------ java.runtime.name = Java(TM) SE Runtime Environment sun.boot.library.path = /home/casanova/.i4j_jres/1.8.0_60_64/lib/amd64 java.vm.version = 25.60-b23 java.vm.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ path.separator = : java.vm.name = Java HotSpot(TM) 64-Bit Server VM file.encoding.pkg = sun.io user.country = US sun.java.launcher = SUN_STANDARD sun.os.patch.level = unknown java.vm.specification.name = Java Virtual Machine Specification user.dir = /home/casanova/Jts java.runtime.version = 1.8.0_60-b27 java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment java.endorsed.dirs = /home/casanova/.i4j_jres/1.8.0_60_64/lib/endorsed os.arch = amd64 java.io.tmpdir = /tmp line.separator = java.vm.specification.vendor = Oracle Corporation os.name = Linux sun.jnu.encoding = UTF-8 java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.specification.name = Java Platform API Specification java.class.version = 52.0 sun.management.compiler = HotSpot 64-Bit Tiered Compilers os.version = 3.19.0-66-generic user.home = /home/casanova user.timezone = Europe/Zurich java.awt.printerjob = sun.print.PSPrinterJob file.encoding = UTF-8 java.specification.version = 1.8 java.class.path = /home/casanova/Jts/957/jars/jts4launch-957.jar:/home/casanova/Jts/957/jars/locales.jar:/home/casanova/Jts/957/jars/log4j-api-2.5.jar:/home/casanova/Jts/957/jars/log4j-core-2.5.jar:/home/casanova/Jts/957/jars/total-2015c.jar:/home/casanova/Jts/957/jars/twslaunch-957.jar:/home/casanova/Jts/957/jars/twslaunch-install4j-1.7.jar:/home/casanova/IBController//IBController.jar user.name = casanova java.vm.specification.version = 1.8 sun.java.command = ibcontroller.IBController /home/casanova/IBController/IBController.ini java.home = /home/casanova/.i4j_jres/1.8.0_60_64 sun.arch.data.model = 64 user.language = en java.specification.vendor = Oracle Corporation awt.toolkit = sun.awt.X11.XToolkit java.vm.info = mixed mode java.version = 1.8.0_60 java.ext.dirs = /home/casanova/.i4j_jres/1.8.0_60_64/lib/ext:/usr/java/packages/lib/ext sun.boot.class.path = /home/casanova/.i4j_jres/1.8.0_60_64/lib/resources.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/rt.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/sunrsasign.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/jsse.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/jce.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/charsets.jar:/home/casanova/.i4j_jres/1.8.0_60_64/lib/jfr.jar:/home/casanova/.i4j_jres/1.8.0_60_64/classes java.vendor = Oracle Corporation file.separator = / java.vendor.url.bug = http://bugreport.sun.com/bugreport/ sun.io.unicode.encoding = UnicodeLittle sun.cpu.endian = little sun.desktop = gnome sun.cpu.isalist = ------------------------------------------------------------ 23:41:47:022 IBController: using default settings provider: ini file is /home/casanova/IBController/IBController.ini 23:41:47:023 IBController: using default login manager: getting username and password from args but not found. Will get from settings 23:41:47:023 IBController: using default config dialog manager: constructor parameter isGateway=false 23:41:47:023 IBController: using default trading mode manager: constructor parameter args but trading mode not present - will be taken from settings 23:41:47:024 IBController: using default config dialog manager 23:41:47:027 IBController: IBControllerServer is started. 23:41:47:082 IBController: IBControllerServer listening on address: pcmc/127.0.1.1 port: 7462 23:41:47:120 IBController: Ensuring /home/casanova/Jts/jts.ini contains s3store=true 23:41:47:120 IBController: Writing required lines to /home/casanova/Jts/jts.ini 23:41:47:121 IBController: TWS settings directory is /home/casanova/Jts 23:41:48:696 IBController: detected frame entitled: Login; event=Opened 23:41:48:698 IBController: trading mode from settings: tradingMode=paper 23:41:48:698 IBController: Setting Trading mode = paper 23:41:48:800 IBController: detected frame entitled: Login; event=Activated 23:41:48:828 IBController: detected frame entitled: Login; event=Activated 23:41:48:831 IBController: Click button: Login 23:41:49:006 IBController: Button now disabled: Login 23:41:49:401 IBController: detected frame entitled: Authenticating...; event=Opened 23:41:49:419 IBController: detected frame entitled: Authenticating...; event=Activated 23:41:52:043 IBController: detected dialog entitled: Downloading settings from server; event=Closed Jolt logger configuration is done. LogModuleConfigurator-Init: Log4j Ver2.x found on classpath LogModuleConfigurator-Init: LogModuleConfigurator initialized with Log4j Verd.x 23:42:02:895 IBController: detected frame entitled: DU460136 Interactive Brokers (Simulated Trading); event=Opened 23:42:02:896 IBController: Found TWS main window 23:42:03:089 IBController: detected frame entitled: Starting application...; event=Closed 23:42:03:838 IBController: detected frame entitled: DU460136 Interactive Brokers (Simulated Trading); event=Activated 23:42:03:849 IBController: detected dialog entitled: Warning; event=Opened 23:42:03:849 IBController: Click button: I understand and accept 23:42:04:592 IBController: detected dialog entitled: Warning; event=Closed 23:42:25:656 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Opened 23:42:25:673 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated 23:43:26:085 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated 23:43:55:823 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Activated 23:45:00:751 IBController: detected dialog entitled: Shutdown progress; event=Opened 23:45:00:751 IBController: detected dialog entitled: Shutdown progress; event=Closed 23:45:00:751 IBController: detected frame entitled: DU460136 Exit Session Setting (Simulated Trading); event=Closed 23:45:01:431 IBController: detected dialog entitled: Uploading settings to server; event=Closed 23:45:01:431 IBController: detected dialog entitled: Uploading settings to server; event=Closed 23:45:02:884 IBController: detected dialog entitled: Uploading settings to server; event=Closed 23:45:03:450 IBController: detected frame entitled: Loading...; event=Closed IBController finished
Started by Martin Casanova @ · Most recent @
Current Image
Image Name
Sat 8:39am