IB offering gateway access (API without TWS)

Discussion in 'Interactive Brokers' started by SideShowBob, Mar 11, 2010.

  1. pfranz

    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.
     
    #61     Apr 22, 2010
  2. Stock

    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.

    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. :)
     
    #62     Apr 22, 2010
  3. 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
     
    #63     Apr 22, 2010
  4. 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.
     
    #64     Apr 23, 2010
  5. 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.
     
    #65     Apr 23, 2010
  6. Stock

    Stock

    I never said jconsole was inaccurate for what it reports, nor did I say it was hard to use.
     
    #66     Apr 23, 2010
  7. LeeD

    LeeD

    Running TWS minimized may help.
     
    #67     Apr 23, 2010

  8. 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.
     
    #68     Apr 24, 2010
  9. 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
     
    #69     Apr 24, 2010
  10. es45

    es45

    #70     May 21, 2010