Weird error in TWS

Discussion in 'Retail Brokers' started by SideShowBob, Apr 26, 2009.

  1. Every time I open TWS I get the attached error. Any idea how to fix this?

    The text of the error is "Invalid combo definition for CL and it then lists the contract ids. Then "Contract may be expired". The only problem is I don't have that symbol on any of my pages so I assume it's hidden and I can't delete it.

    <img src="http://www.elitetrader.com/vb/attachment.php?s=&postid=2403387.png">
     
  2. slacker

    slacker

    I am having trouble bringing up my charting software that uses the IB API as well.

    Went back to an earlier version of my software and it broke as well so I do not think it is my changes.... Looking into it.

    :confused:
     
  3. Here is just a wild guess, based on my past experience.

    Did you have any market depth windows open at the time you last exited TWS, so that they were still present when you logged in and had this problem? If so, then delete all market depth windows before exiting TWS, and then see if the problem goes away or persists next time you login.

    I found, very many versions ago, that having market depth windows open at the time of exiting TWS led to all sorts of flakiness next time I logged onto TWS.
     
  4. SideShow, here is how to fix it (only for users with some computing knowledge):

    - Close TWS
    - Open tws.xml with an editor.
    - Search for the numbers that are shown together with the contract. They will occurr only 1x
    - Delete the specific XML Entry.
    - Re-Start TWS