IB offering gateway access (API without TWS)

Stock, are you sure Task Manager gives wrong values? I posted both resident amount AND virtual amount, they must be summed together (total about 100Mb). As far as I know, task manager barely shows the result of system calls about system stats. Any tool would use the same calls I think.
 
Quote from dcraig:

top or ps is not going to give a reasonable estimate of the memory utilization of java apps. If you install the jdk, there is a application called jconsole that lets you look at heap size, heap utilization, garbage collection and lots of other interesting stuff for any java app. Very useful in picking up memory leaks too.

Well, one shows you what the application thinks it is using while the other shows you how much memory is allocated by the operating system for the application. Both provide useful information but possibly for different things.

Quote from pfranz:

Stock, are you sure Task Manager gives wrong values? I posted both resident amount AND virtual amount, they must be summed together (total about 100Mb). As far as I know, task manager barely shows the result of system calls about system stats. Any tool would use the same calls I think.

Well if you have a 96MB memory pool it's pretty unlikely that it is using only 100MB total. Try starting it with a 512MB memory pool and see if Task Manager even shows any difference. Then try pslist and see what it tells you. :)
 
Quote from fullautotrading:

I agree with that. No reason to crash. It may (quite rarely) freeze, but crashing the pc... actually never seen it.

Try doing a clean installation of operating system. Use a light antivirus, like avira (can use House Call weekly for deeper scan). Do no install unnecessary software...
ckeck also you memory modules and video card...

Tom

It doesn't technically crash my computer, but if i have it open all day after some time it will screw up the entire display graphics, and everythings goes black pretty much, kinda hard to explain, but basically i have to restart explorer.exe and shutdown the java TWS program and i am able to resume doing whatever i was doing before. However, this happens every single time after like 5 hours.

The task manager always shows the TWS taking up the most memory out of any program i have running. So i figure this gateway will be my solution to prevent this problem.

Thanks for your responses
 
Quote from Stock:

Well, one shows you what the application thinks it is using while the other shows you how much memory is allocated by the operating system for the application. Both provide useful information but possibly for different things.

The SUN JVM is not going to get this wrong. If you use jconsole you can look at the garbage collection behavior and possibly reduce your max heap size which is a good thing if your hardware is memory challenged. It is quite easy to do.
 
Quote from rolando87:

It doesn't technically crash my computer, but if i have it open all day after some time it will screw up the entire display graphics, and everythings goes black pretty much, kinda hard to explain, but basically i have to restart explorer.exe and shutdown the java TWS program and i am able to resume doing whatever i was doing before. However, this happens every single time after like 5 hours.

You could try the following option on the java command line:

Code:
-Dsun.java2d.noddraw=true

Which relates to java 2d rendering (possible screen corruption). If "true" doesn't help try "false" also - I think the default has changed somewhere in jre releases.

Are your graphics drivers up to date?

Low memory is unlikely to cause screen corruption, but bad system memory or graphics card memory could.

If none of this helps, run a memory test - memtest86 can be downloaded for free.
 
Quote from dcraig:

The SUN JVM is not going to get this wrong. If you use jconsole you can look at the garbage collection behavior and possibly reduce your max heap size which is a good thing if your hardware is memory challenged. It is quite easy to do.

I never said jconsole was inaccurate for what it reports, nor did I say it was hard to use.
 
Quote from rolando87:

It doesn't technically crash my computer, but if i have it open all day after some time it will screw up the entire display graphics, and everythings goes black pretty much, kinda hard to explain, but basically i have to restart explorer.exe and shutdown the java TWS program and i am able to resume doing whatever i was doing before. However, this happens every single time after like 5 hours.

The task manager always shows the TWS taking up the most memory out of any program i have running. So i figure this gateway will be my solution to prevent this problem.

Thanks for your responses
Running TWS minimized may help.
 
Quote from LeeD:

Running TWS minimized may help.


You mean minimized as in pressing the minimize button on the top right and still seeing the program on the task bar. If that's what you mean, no it doesn't work I've tired.

Or is there a more advanced way of minimizing, ie doesn't appear in the taskbar, but runs hidden somewhere.
 
saw this on the TWSAPI listserv:

Interactive Brokers Group is seeking software engineer to help make our
Java based trader workstation platform even better. If you have solid
Java experience, love the challenge of developing complex realtime
systems, willing to learn Java UI layer, and enjoy working in agile
environment with a strong established team, then IB may be just the
place for you. This job is heavily oriented toward designing, building
and optimizing TWS.
Minimum requirements:
* Fluency in Core Java* Commercial software development experience with
emphasis on Java* BS in Computer Science, or equivalent (advanced
degrees a plus)* Passion for building top-quality user-interface
products* Strong communication skills* Proactive, driven to excel at
getting things done on time

with additional commentary added by some members :)

- Knows not to break backward compatibility
- Understands that the API should be correct, complete and unambiguous
- Understands what API functionality traders actually need in order to
write trading applications
- And maybe get with the 90's and at least precede each message with a
field count so applications don't need to untangle the moving-target
message format and can process only the messages they need.
- I'm sure everyone can add their own forehead-slappers to the list

In addition:
- understands the difference between a stop and limit order
- proficient with good GUI design principals and practices
- fastidious about error trapping and handling
- can test his own code
 
Back
Top