I have found my NT gradually freezes quite often after i get into trades. The general observations are:
a) the more orders filled at the same time, the sooner it freezes.
b) the cancellation of associated orders (stop fill cancel target for example) is fast at the begining: 1 or 2 seconds; then it can be 30 seconds to several minutes; then NT reaches "not responding" stage.
c) task manager will show not responding;
e) the broker IB still has TWS up and running on all NT frozen cases.
f) This gradual freezing is quite consistent on 2 PCs, both 1.6 GHz with 1G RAM; one is XP professional an the other XP media.
To help dignosis:
i use manual stop trailing in OnBarUpdate with ExitLong(Short)Stop by changing stop price at tick level. I also use arrays to store orders and loop through them in OnBarUpdate at tick level. Not sure if these will be counted as computation heavy.
example of a): 8 orders filled within 2 secons and NT was frozen in one minute; 2 orders filled at the same time and NT frozen in 20 minutes.
Any idea?
Comment