Beta, Configuring IB TWS, QnAs

November 9 , 2005

@Ensign_HA: welcome to today's Wednesday class.

 

16:31 @Ensign_HA: This week we had a break through in the ongoing effort to get the Beta version to stay connected to the IB feed.

16:31 Asleep: Howard, it looks like you solved the IB disconnect issue in EW Beta.....wtg!

16:32 @Ensign_HA: This issue was seen by several, but not by everyone. Looks like the issue has been isolated to being related to those computers with hyper threaded CPUs. The lost connection would be because the socket was on a thread other than the thread used by Ensign. The solution has been to force the socket thread to be the same as the thread that creates the socket, ie the same thread as the Ensign program. This solution is in the 11-08 version of Beta, and we have had 6 or more IB Beta testers who previously had the disconnect issue that are in unison reporting success with the 11-08 version.

16:36 Asleep: great job, Howard

 

Configuring IB TWS

16:36 @Ensign_HA: One item of training for IB users is to utilize the TWS menu for Configure | API | Trusted IP Addresses.

www.ensignsoftware.com/help/ib.htm

16:37 @Ensign_HA: Scroll down to the Freq Asked Questions section and see the new Configure menus. We encourage you to use this Trusted IP Address feature so that it will eliminate the added prompt in TWS to Accept IB Connection. This will make for a faster connect and simpler for Ensign too to accomplish the connection. The 127.0.0.1 is the local IP address when Ensign and TWS are on the same computer, which 99% of you use Ensign and IB that way.

16:39 @Ensign_HA: Any questions about IB connection issues? Any feedback by Beta users and the 11-08 version ?

16:40 christophe: everything is working fine here (beta 11-08) Howard, thx

16:40 @Ensign_HA: excellent christophe

16:40 Asleep: only issue I had was a random TWS window popup when futures stopped trading at 3:15pm

16:41 @Ensign_HA: asleep, the pop-up from TWS is normal... that is not an issue.

16:41 sniffy 2: no connection issues on either ht or non ht here ...

16:40 Tricky: I've tested the new version and connections seems to be ok

16:42 Randy1: Well I've had not one disconnect today...

16:42 @Ensign_HA: great randy

16:56 TOC: using 11/08 beta here, no lags, disconnects or freezing today, using DTNiq Feed for data

 

16:42 @Ensign_HA: mmaker2, what are the details of your instance?

16:42 mmaker2: TWS kept going but Ensign was stopped

16:46 @Ensign_HA: The 2-3 minutes is the count down process we go through watching for no data, and if no data, then we can do a reconnect sequence to try to get the feed again.

16:50 mmaker2: so you have installed logic then to reconnect if connection is lost - correct?

16:51 @Ensign_HA: Yes mmaker2, and that is activated by having the Auto Run/Connect TWS box checked on the Setup | Connection form. Uncheck this box if you do not the auto reconnect attempt to be made which might be preferable when using Ensign a weekend

16:52 MidKnight: Howard, I've noticed Ensign does not reconnect me after the daily reset occurs.....Oct 5th stable.

16:54 @Ensign_HA: midknight you need to check the time in TWS when the forced disconnect occurs. Then in Ensign on the Setup | Connection have the reconnect time be entered for 1 minute later

16:54 MidKnight: Howard, I have changed that time to a time other than the reset time so my TWS remains running when the reset occurs

16:54 @Ensign_HA: in my TWS I have disconenct at 01:00 am and the Ensign reconnect entered as 01:01 and the Auto Reconnect box is checked. When I arrive in the morning all is still running.

16:56 @Ensign_HA: midknight, guess I do not know what you mean by reset then

www.ensignsoftware.com/help/ib.htm

16:56 MidKnight: Howard, IB does a reset which does *something*. But that does not mean you have to shutdown the TWS at that time. You can choose to shutdown your tws at any time of day you want. The reset only lasts for seconds. so I choose a different time then the reset time to shutdown my TWS

16:57 @Ensign_HA: True, I suggest you shedule the forced shut down to occur after the IB nightly reset

16:57 MidKnight: hmmm...that is not preferrable

16:58 @Ensign_HA: why, after is still after. I use 1 am Mountain zone time.

16:58 MidKnight: the reset time is not exact - it is a 30 minute window - it could occur anytime within there. Yes but I lose 30 min of data that I have no refresh for

16:58 @Ensign_HA: that would be 2 am Central and 3 am Eastern. It is in the middle of the night when most are sleeping. And why would you lose anything?

16:59 MidKnight: hehehe, you assume everyone is in the USA? :) Asia is alive and trading well. No tick refresh for aussie SPI or Hang Seng

 

17:03 Asleep: With old EW, I reopened each moring and did full refresh for my four emini futures charts. With this Beta, it looks like I don't have to refresh at all?

17:04 @Ensign_HA: what is time frame of charts?

17:04 Asleep: 100 range to 50 range

17:05 @Ensign_HA: If you were off-line, then a manual refresh would still be needed to bring them current

17:05 Asleep: so I need to do a 33 minute refresh each morning?

17:06 @Ensign_HA: The 33 min would be from IB and 1 day or 100,000 ticks would be when source is on DTN

17:07 @Ensign_HA: DTN will be through delay requirement and IB would be through current time - no delay in IB refresh, which is a nice advantage

17:07 Asleep: yes, IB...ok, thx Howard

 

17:25 Tricky: was working before, new version did an overwrite ?

17:25 @Ensign_HA: just show me the properties please

17:26 @Ensign_HA: fill in the roll schedule and then it will work

17:26 MidKnight: hmm....so the beta will overwrite symbol properties upon installation?

17:27 @Ensign_HA: it tries to convert your old file

 

17:27 christophe: thx I have a request for the following features if possible thx :

17:27 christophe: Feature1 - Would it be possible to create a "Color grouping" for templates ? What I mean is this: In my workspace, I have tick many charts. It would be helpful if when applying a template, I could apply it to a selected group of charts by colors as opposed to go and apply the template on each chart manually.

17:27 Feature2 - Would it be possible to code the ability to overlay two charts of different time frames (10tick / 70tick or 3min / 15min) and if possible mixing type of timeframe (range / minute…). This is mainly to have the ability to have an history on alerts/study data passed from one time frame to the other. If not possible, is the following codeable/suitable ?: an history database of signals from two different timeframes that one time frame can go and look at based on time for example… that way you can backtest signals taking input from various tim

17:29 @Ensign_HA: Color grouping is good idea but it will have to be on To Do list for time being

17:29 christophe: ok

17:29 @Ensign_HA: The overlay is difficult and the suggestion now is to use GVs to pass data from one chart TF to another chart on the DYO on the receiving chart, use the Global Actions | Plot Study Value from GV selection because this selection will archive the prior passed values so they are not lost or rewritten when a chart has to resize or recalculate

17:30 christophe: thank you Howard!

17:32 christophe: Is there a clever way to test if a specific price is included in the bar range ? What I am thinking of is a test of whether or not the high or low of a bar touched a moving average for example. the way I do it is using alerts (MA price < high and MA price > low)

17:33 @Ensign_HA: Can so the same idea on a DYO couple of lines and then test the GLobal Flag | AND[#] where Number = 2 and GV Read is the first GV of the sequential GVs holding test results

17:35 @Ensign_HA: Thanks for attending class today.

17:35 christophe: thank you Howard!

17:37 @Ensign_HA: you all have a good evening.

17:37 Light: thanks again Howard - you too

17:37 @Ensign_HA: welcome bye

17:37 christophe: have a nice evening Howard, thx again!

17:38 christophe: goodnight all!

17:38 @Buffy: night Howard