IB TWS locks up every morning on the open

Quote from rbartell:

Has anyone else had TWS lock up right when the U.S. market's open? I still get data to come in, but it takes about 10-30 seconds to get a response when I click on something. When I shut down and re-open, it is back to normal. My computer doesn't show any excessive CPU or memory use.
how many tickers on page?
any charts(IB's)
i've notice something like this after you open charts,move mouse over it,then close. after that this freezing thingy happen. the size of the chart is also matters. the bigger-the more cpu usage(up to 100% on moving the mouse over it(Thank you! nice programming!))
 
Quote from Bob111:

how many tickers on page?
any charts(IB's)
i've notice something like this after you open charts,move mouse over it,then close. after that this freezing thingy happen. the size of the chart is also matters. the bigger-the more cpu usage(up to 100% on moving the mouse over it(Thank you! nice programming!))

I'm looking up about 75 tickers and have about 10 charts. Haven't seen that chart problem before, although IB acknowledged that they do have a problem with charts (and time and sales data) loading if you request too many symbols within a certain time frame (this does not have anything to do with any built-in limits). For example, take a chart window and try to load 30 symbols one right after another and it will eventually sit there at "Loading" for about five minutes.
 
Quote from stock777:

Using 2 gig of ram doesnt sound right.

Try running without your API code, it may be doing something funky.

As a program, it's using about .6 Gig of RAM.
My guess is that it's probably the API, like you said.
 
I have had the problem periodically.

I have turned off the "Create Audit Trail" feature and, i believe, I have had many fewer problems recently.
 
Quote from stock777:

Using 2 gig of ram doesnt sound right.

Try running without your API code, it may be doing something funky.

I am running API as well. I guess my API does something funky too.

TWS itself also consistently freezes after I close View/Trades window.
 
I run Ninjatrader, three or four charts typically, 500 line scripts updating every tick, Vista OS.. never have a problem. I've said it often here, get a white listing firewall like a SonicWall or a Hotbrick and put your trading machine behind it.. you won't get infected with anything, ever, and that will be one less thing to think about when you try to diagnose your setup...

I've found ways to crash Ninjatrader royally when I'm writing scripts. I can make it hork up .Net3.5 and 2.0 both to where I have to reinstall all the software again on XP. On Vista I can just repair the .Net3.5 and be up and running again in just minutes.... with Ninja and TWS running real time, never a problem that I've noticed.. I don't trade right at the very open though..
 
pretty sad if .net has to be repaired after a crash.

I would think we were beyond that in 2009.

I can't remember having to reinstall anything for many years after any crash, but don't do much with .net
 
Quote from gkishot:

I am running API as well. I guess my API does something funky too.

TWS itself also consistently freezes after I close View/Trades window.

I tried without API this morning and still ran into the same problem. Just after the close TWS got slower and slower until after about 2 minutes it had completely stopped updating anything. Again, the rest of the computer was functioning normally, and the Task Manager said "Running". Let me know if you try it without API and what it does.

maxpi - thanks for the advice on the firewall.
 
Back
Top