IB Connection, Training Videos, additions to QnA, TWS Error Log, CPU Max, Randy's Scroll Bar Trick for Moved Chart

April 26 , 2006

Welcome to today's class.

16:53 nibs: The Ensign web site now includes VIDEO training.

 

Here are some links to added informatioin in the QnA database at Ensignsoftware help.

http://www.ensignsupport.com/email/887.mhtml

16:47 Ensign Howard: http://www.ensignsupport.com/email/891.mhtml

16:47 Ensign Howard: http://www.ensignsupport.com/email/892.mhtml

16:47 Ensign Howard: http://www.ensignsupport.com/email/893.mhtml

16:49 Ensign Howard: http://www.ensignsupport.com/email/890.mhtml

16:52 pw: that's great

16:52 Ensign Howard: www.ensignsoftware.com/help/help.htm

16:57 TerryT: ventrilo setup instructions are here

http://www.ensignsoftware.com/tips/tradingtips41.htm

16:58 Ensign Howard: Ok, any questions about the TWS issues and solutions?

16:59 vlad: I suffer IB connection issue ..... Reverting back to the Dec version of IB and the Jan 11 Ensign version would stay connected .... Where can I found those old versions?

16:59 Ensign Howard: One last issue resolved about a month ago is some could not connect with current Ensign to their TWS. And that was resolved by having the users run the WinSockFix application which can be downloaded from the Ensign support web site.

16:59 pw: Thanks for the $ad-nyse tracking Howard.

17:00 Ensign Howard: vlad, go run the winsockfix application. That has fixed it for everyone else we know of. Then continue using the current april version of Ensign.

17:00 vlad: and what TWS build, pls 857.7 build?

17:01 Ensign Howard: 857.7 is fine.... use that

17:01 vlad: okay, thank you

17:01 Ensign Howard: Current tws is 858.4 which has issue with Futures Options and if you need Futures Options then get previous version which is 857 from IB web site.

17:01 Ensign Howard: Now, some users have titles on TWS that look the same as the Accept Incoming Connection window. So for them, the solution is to do the suggestion for having 127.0.0.1 on the Approved IP Address list and then in Ensign on the Setup | Connection form

17:03 Ensign Howard: UNCHECK the first box which is labeled 'Close Accept Connection window'

17:04 Ensign Howard: If your TWS caption line begins with the wording Universal Account then you will not have this Close Accept Connection issue. I still encourage all IB users to put the 127.0.0.1 on the list of Approved IP Addresses as shown in this class earlier

17:05 Ensign Howard: ok, more questions about TWS and IB?

17:06 Ensign Howard: ok..... we encourage you to watch the training video clips. Even seasoned Ensign users have reported picking up a tip or two they did not know.

17:06 MikeD: IB Connection issues. Check the JTS folder for any log files. They look like log.Wed.txt. TWS creates this log when it is having problems, bad or broken sockets, login issues. Check that the date is current.

17:05 vlad: What version of Winsockfix,exe pls

17:06 Ensign Howard: vlad, on the ensignsupport com web site there are 2 versions, depending on the operating system you use.

www.ensignsupport.com

17:07 vlad: have XP

17:07 Ensign Howard: You would use 3rd link down which is labeled WinSockFix XP for DTN IQFeed.

17:07 vlad: ok, thank you

17:08 Ensign Howard: The winsockfix heals the socket problem for IB users too

17:10 Regent: Where do we add the approved IP address? In TWS or Ensign?

http://www.ensignsupport.com/email/887.mhtml

17:11 Ensign Howard: In the TWS, click menu Configure | Global Configuration and select the API page as shown in this article's picture

17:12 Regent: got it thanks

17:12 Ensign Howard: great

 

17:08 Ensign Howard: ok, will open class up now for Q&A.... use CTRL+Q keys for question mark icon and I will call on your from the member list to post your question.

 

Training Videos

17:13 Ensign Howard: How many have watch some of our video clips already ???

17:14 Vijay: videos are great!

17:14 cyndc: ditto

17:14 Ensign Howard: Well, lets watch one, if you don't mind

17:15 Spud: Nice learning tool

17:15 Ensign Howard: I would suggest you uncheck the Show box on the bottom of the chat form and that way if someone posts a url to the room it will not auto show and thus interrupt the display of a video clip.

17:16 Ensign Howard: I will post the URL for the DYO: for Normalized Candles and then we can discuss it when the clip is finished. If the link does not auto start for you, then click on the URL in the chat transcript to start it.

www.ensignsoftware.com/video/dyo-normalized/dyo-normalized.html

17:17 Ensign Howard: The video should be playing for you now in the chat viewer

17:17 cyndc: Sound is superb here

17:17 Ensign Howard: Resize the viewer to be large enough to display the form in its entirety

17:19 TerryT: I had to go install flash. it did but refreshing in echat won't start it. hmm - maybe I should restart echat

17:19 Ensign Howard: Terry, click on the link on the Help page from web site. Might try close and reopen of chat or use internet explorer to view them from Help page on our web site. We are watching the DYO for Normalized Candles. The clip is 14 minutes in duration and we have 10 minutes remaining to watch.

17:21 TerryT: Restarting echat did it.

17:21 Ensign Howard: Excellent

17:23 CB: Howard that little yellow circle is very neat - is that a gizmo on your site?

17:24 Ensign Howard: cb, it is part of the Camtasia software used to create the video clip you are watching

17:24 CB: ok - someone whould make it into a windows gizmo

17:24 Ensign Howard: I am not doing all that live..... it was prerecorded into a video.

17:24 Ensign Howard: Yes, it makes it very easy to follow the cursor arrow location

17:25 CB: oh yes - I would not have asked you a question like that if I thought you were live.

17:26 Ensign Howard: This camtasia to produce the video is a really great product, and I really love the ability for the video to stream and show in our chat viewer.... makes a great combination.

 

17:28 vlad: Howard, my IB connection issue still the same after using WinsocksxpFix.exe, dont want to bother just now, but dont know what to do, should I send you an e-mail?

17:28 Ensign Howard: I can work with you now.... give more description what the connect issue is. What are the symptoms

17:28 vlad: I get connected status but feed is idle

17:29 Ensign Howard: Is the TWS still functioning such as its menus can be selected and you see quote page values in TWS updating??

17:29 MikeD: Howard- Vlad has error logs being generated by TWS.

17:30 vlad: yes, tws working fine. I downgrade to previous version today - build 857

17:29 Dave_ing: I notice that my ER2 does not update/refresh....I overheard something about a new symbol?

17:30 Ensign Howard: dave, click menu Help | Knowledgebase Q&A and read article 892

17:30 Dave_ing: ok tks.

17:31 Ensign Howard: ok, vlad, when was the last time you had Ensign connected to TWS?

17:32 vlad: I am in europe, I trade yesterday US session yesterday and then went to sleep, in the morning my data feed was out of order. I have no connection today

17:32 Ensign Howard: ok, did you upgrade Ensign or TWS between yesterday and today or some other change?

17:32 vlad: no

17:33 Ensign Howard: ok, good clue

17:33 vlad: I made changes in last hour only

17:33 Ensign Howard: What is the Ensign version you used OK yesterday

17:33 vlad: I was here and downgrade TWS and EW as well. I have been running software and hardware without changes for the long time before

17:34 Ensign Howard: click menu Setup | Connection and post picture for me with CTRL+J keys. The symptom for the WinSockFix issue is there would be a message box to Go Accept Incoming Connection or the menu in TWS for socket port needs to be enabled.

http://www.ensignsupport.com/email/887.mhtml

17:36 vlad: I have been getting that Go Accept Incoming Connection in couple last days

17:37 Ensign Howard: Go to this same form for Configuration | Global Configuration and tell me if your shows the same check box checked on the Enable ActiveX and Socket Clients. So first check is the Enable Socket checked??

17:37 Vijay: Thanks Howard, I am eager to learn DYO soon. Have it checked.

17:38 Ensign Howard: ok, what is the socket port? is it 7496 in both TWS and in Ensign?

17:38 Ensign Howard: I see your Ensign has 7496, which is correct

17:38 vlad: yes, Enable ActiveX is checked and the port is the same 7496

17:38 Ensign Howard: vijay, watch the other DYO video on the Help page as well

17:39 vlad: My troubles started when both programs were running correctly !

17:39 Ensign Howard: vlad, ok, is the 127.0.0.1 on the IP list?

17:39 Ensign Howard: ok, vlad, if I know the cause we would not be reviewing the basics looking for the cause

17:39 vlad: yes, have trusted IP as well

17:40 Ensign Howard: so we just have to retrace steps to see what is set up

17:40 Ensign Howard: ok, right now, do you have any other prompt windows present related to TWS connection..... possibly you have to minimize other windows to see behind them...

17:41 vlad: no window related to TWS connection

17:42 MikeD: Howard- It is my experience that if TWS is creating a Error log, the issue is with TWS not Ensign. TWS will look like it is working but the error log will note the issues. Vlad told me earlier that he started creating errorlogs yesterday when the problem started.

17:42 zbullzbear: as mentioned earlier I have had no problems since I changed (re downloaded) ensign..i am currently using Ensign ver 04-14-06 with tws ver 857.7 4-3-2006.....FWIW

17:42 Ensign Howard: ok, do you use a firewall, for example Norton firewalls prompt for what to do about Internet connection every time I upgrade Ensign windows..... and I have to enable the access otherwise it would be blocked by the firewall17:43 Ensign Howard: excellent clue MikeD....thanks.... perhaps we can get Vlad to investigate your clue about TWS logs

17:44 MikeD: Can he send me the log and I can browse it and possibly get a clue?

17:44 mmaker2: I have noticed since I upgraded ib tws a few days ago I have 4 log files and my cpu maxes out much more frequently than before

17:44 mmaker2: I am not sure how to roll back a version in IB tws

17:44 Ensign Howard: mmaker2, on IB web site click menu Software | Trader Workstation | Software

17:45 mmaker2: ok ty

17:45 Ensign Howard: On the table for Standalone Downloads, the bottom entry is Windows Previous which rolls back to 857 version

17:45 mmaker2: I am going to roll back and see what logs get created if any

17:45 Ensign Howard: vlad, lets pursue the clue form MikeD about a TWS log

 

CPU Maxing Out

17:46 Ensign Howard: mmaker2, what is your issue?

17:46 mmaker2: CPU maxes out frequently even after I simplified my workspace too

17:46 Ensign Howard: the only issue with 858.4 version I am aware of is that if your have Futures Options the Ensign connect with those symbols locks up TWS totally

17:47 Ensign Howard: ok, not aware of cpu burden issue and if that is different with 858.4 or not

17:47 Ensign Howard: you might check the Setup | Manager list and groom it to have current valid symbols and purge anything expired or unneeded.

17:48 mmaker2: did some of that last night too - still an issue today

www.ensignsoftware.com/help/burden.htm

17:48 Ensign Howard: ok, review these suggestions and see if any apply to your situation

17:49 Ensign Howard: One quick piece of information is the menu Help | Memory Report

17:49 Ensign Howard: With your typical workspace loaded that has the cpu max issue, click the menu to get a report

17:49 Ensign Howard: Tell me number of windows open and the total memory estimate for them or on the memory report, use CTRL+J to post a picture for me to see and be sure bottom of the report is showing for the image upload

17:51 Ensign Howard: vlad, work with Miked regarding the TWS log please....he is trying to be helpful and is quite knowledgeable. Also, your clues so far would suggest that winsockfix should heal the problem. Are you sure you ran the winsockfix from our support web site.

17:54 Ensign Howard: mmaker, all those daily files have 20000 allocated for size, and truly doubt the files really have more than 2,000 bars present

17:54 Ensign Howard: So changing the max bars setting for each would trim their memory load to be smaller. However, what you have is not an obvious problem. Still try using 2000 for the daily files and on the Setup | Computer form you probably have as the default for new daily files the 20,000 and that is how they got to be 20,000 in the first place

17:55 mmaker2: I will check each one, but it is better than last week when I did not max out my cpu

17:55 Ensign Howard: Stock charts might have 60 years of data, but these futures charts probably have up to 8 years and 2000 is enough for 8 years. The 20,000 is more a recalculation issue fo rthe V100 and the R50 charts which also have 35 objects. So these files with lots of bars and recalculate often as they resize could be the times when you max the cpu. Again, probably 2000 bars is sufficient for these files and then they will recalculate in 1/10th the time and the chart shift to resize the file when oldest bars will happen much faster as well.... and the resize is a pure CPU burden. ok, you can see how big the files are with actual bars on the chart property form but V100 would be building bars quickly and resize often

17:59 mmaker2: yes, ok I will trim that too - I was keeping it large for system testing

17:59 Ensign Howard: R50 is probably just as quick to build new bars, and thus resize often. The resize of the $SPX.5 would not happen that often.... ie once every couple hours. But the V100 and R50 can be frequent

18:00 mmaker2: ok I will build a workspace for system testing and a second one for trading - that should help a lot. thx Howard

18:00 Ensign Howard: ok, but if you have smaller files in one, that will trim the files on the hard disk

18:01 mmaker2: ah

18:01 Ensign Howard: so the 'system testing' then does not have the data you expected even though it has larger Max Bar settings. So be careful in having two

18:01 mmaker2: so I need a second folder of ensign?

18:02 Ensign Howard: well you might do this....there are 2 folders already: \Volume and \Volume2. The \Volume is used when Day Session Only is checked and \Volume2 is used when unchecked, ie both sessions. I do not know the present state of your Day Session Only box for these charts but you can look

18:03 mmaker2: they are a mixed lot

18:03 Ensign Howard: maybe one workspace has DSO checked and the other unchecked and the trading workspace has smaller files and the system testing workspace has the larger files

18:03 Ensign Howard: ok

18:04 Ensign Howard: Anyway you have some clues to work with that might be more productive than downgrading TWS to 857 v.

18:04 mmaker2: ok thx Howard

 

18:00 JF: EH I have a general question

18:05 JF: Can I play back two charts at the same time? the YM and the $tick-nyse

18:05 Ensign Howard: you can playback multiple charts in different time frames for ONE symbol. Sorry, cannot have a dual symbol playback as you seek

18:06 JF: OK

 

18:06 Ensign Howard: your turn buffy

18:06 @Buffy2: the alert message window....no way to convince it to stay with the chart right? since I layer the charts, I ended up with two on one chart today and no way to tell who went with what chart - plan on changing the colors slightly tonight.

18:06 dblue3: ;))

18:06 @Buffy2: thanks although feel bad cause others were before me I think

18:06 Ensign Howard: aahh... the floating window issue..... might have to rethink that to keep it associated with the chart - do not have a solution in mind for you today buffy..... for the alert message content you might add the symbol

18:07 @Buffy2: thought it might abe a problem but like the way floating drawtool etc work - can use the TF! Thanks Howard that works

 

18:12 Ensign Howard: ok, vlad, back to you and your question

18:12 vlad: one more question .... I trade mainly tick charts, use Ensign as my prime and quotracker as my second charting software. Wonder why I can get two full session in ticks from IB backfill in quotracker and only last 33min in ensign? I had recently many problems with disconnections and lost my long time collected SPI tick data. It would be great to have a possibility refresh the whole last session with tick data.

18:13 Ensign Howard: vlad, I do not know what quotetracker does, but the IB refresh is limted to 2000 records per request and the smallest refresh is a 1 second time slice and that amounts to 33 minutes. The 100,000 tick refresh or Today refresh choices come from our DTN Market Access database. We can make 1 request and get a full day's reply for ticks. So we use DTN for the data when you need more than a 33 min refresh

18:14 vlad: yes, eg. but SPI has no DTN backfill

18:15 @Buffy2: please don't rethink the floating window - your idea will work :-)

18:15 Ensign Howard: ok buffy

18:16 Ensign Howard: vlad, what is the chart time frame you refresh from quotetraker?

18:16 vlad: dont understand how IB backfill works but I only compare these two programs and can see I get whole last session in qt from IB. Use the same tick charts like in ensign eg. 50 tick for ER2 or any other markets, have no other backfill in qt

18:17 Ensign Howard: ok

18:18 Ensign Howard: vlad, Miked says you need to check your e-mail.... I think he might have given you some help on steps to take to recover. Your error log shows problems with Java

18:18 vlad: ohh, thank you

18:19 Ensign Howard: Miked, did you tell vlad what suggestions you have in mind yet?

18:19 MikeD: Yes

18:19 Ensign Howard: ok, I appreciate your help Miked

18:19 MikeD: Glad to help

18:20 Ensign Howard: vlad, in case you have not looked at the log you are getting, here is a small snippet that shows the problem.

18:20 Ensign Howard: java.io.EOFException

at java.io.DataInputStream.readByte(Unknown Source)

at jextend.w.a(w.java:328)

at jextend.w.d(w.java:367)

at jextend.lc.w(lc.java:286)

at jextend.lc.run(lc.java:253)

at java.lang.Thread.run(Unknown Source)

23:44:55:875 JTS-EServerSocket13: [47534:23:26:1:0:0:0:SYS] Ending conversation with client{47534} at localhost/127.0.0.1

18:21 Ensign Howard: you are getting java exception errors in the TWS and it is ending the conversation. So Ensign is the victum here, not the cause and data is not being passed.

18:22 MikeD: If there is a TWS errorlog the problem is TWS

18:22 Ensign Howard: excellent clue.... I am learning as well

18:22 MikeD: The problem shows in Ensign first. Since I fixed my user account I get no more error logs

18:22 Nick: How do you find a tws errorlog?

18:23 MikeD: Look in the JTS install folder

18:23 Ensign Howard: Well, we have been here in class for 2 hours.... thanks for coming to class..... hope it was informative to many of you.

18:23 Nick: k ty

18:23 CB: Howard

18:23 vlad: understand, so guess I need to contact TWS support ?

18:23 CB: quick questions

18:23 MikeD: It will look like log.Mon.txt

18:23 Ensign Howard: vlad, one idea is to rename the /jts folder and then do a new download and install of the TWS. Possibly you need to reinstall Java

18:24 Rod: Sunday night my TWS would not stay logged on and Windows kept giving error that it could not write to this file

18:24 Ensign Howard: however, I would tackle this by renaming /JTS folder to /JTSold and then do a new install of TWS and see if you are healed after that

18:24 vlad: ok, thank you Howard

18:25 @Buffy2: that has worked for some

18:25 Ensign Howard: you will need to set up your configuration items again such as the Enable AxctiveX socket and Approved IB address list again and reenter your quote page of symbols in TWS

18:25 MikeD: Vlad, first follow the instructions I sent via email.

18:26 Ensign Howard: vlad, Mike said he e-mailed better steps to try, so do his steps first instead of my suggestions. Might try my suggestions if problem persists.

18:26 vlad: will check, thx Mike, Howard, very appreciated

18:27 Ensign Howard: The community is a great place to get help, and share ideas. Thanks again Mike

18:28 MikeD: I want to share my finding so I can the justify 100 of times if have check this connection issue. Mine was self inflicted.

18:30 Ensign Howard: good night.... have a great day..... I might have another video clip yet today on more chat room training.

 

18:30 CB: The first is more of a comment - Mike l from Ensign helped me clear out a symbol that was corrupt in Ensign and not updating - imo - you should write up that procedure and post it on your site - the second is really a question - we have two machine - one 4 gb and one 3gb ram - each runs Ensign and tws only during the day - what are the o0ptimum setting for memory if we trade only futures and options on futures es er qm gold and a few others and options on futures on each ? ram we have about 30-40 charts open on each machine - sometimes more - sometimes there is a slight delay in displaying or refreshing a chart - we want to stop that

18:31 CB: :-(

18:32 Ensign Howard: cb, the refresh can be auto enabled or disabled. If you are on line you do not need the refresh and turning off the auto mode would save that added step which would be redundant because you collected the ticks for the bars already. You decide if auto refresh is needed or not. To turn it on or off, on any chart go to chart property form by double click chart background.

18:33 CB: yes - have auto on - on line always - but I am talking about moving an Ensign window

18:33 Ensign Howard: select the Data tab and check or uncheck the box. OK, sorry, state question again.... did not understand 'moving' window question

18:34 CB: if I have a chart in ensign and move it to another spot on the workspace - there is a slight delay

www.ensignsupport.com/email/399.mhtml

18:34 @Buffy2: worked for someone last night

8:35 Ensign Howard: ok, check out the hint posted by buffy

18:35 CB: Wondering what optimum settings are for 3gb and 4gb machine if only ensign running. OK will do - thanks

18:35 Ensign Howard: Possibly you have Animation enabled and by unchecking this system property you will have faster response

18:35 CB: have a good night Howard buffy and all :-)

18:35 Ensign Howard: thx, buffy, great to have that hint so readily prepared

18:35 @Buffy2: show window contents while dragging is good to uncheck - had to dig for it - but found it last night. One of those knew it was somewhere LOL

18:36 Ensign Howard: I think it is definitely on topic for his question. You are a gem

18:36 CB: oh that - yes - I have been aware of that for lone g time. So what else could it be. I defintely have that unchecked already

18:37 Ensign Howard: And that is from my own knowledgebase.... forgot it was there....lol. Moving a chart should not generate any refresh request. It is simply a drag of the chart location and that would be the display issue

18:37 CB: Maybe I should say a latency in display

18:37 Ensign Howard: Look for other related issues same as the animate check box. I remember there is one to repaint the window content while dragging or to drag just an outline and dragging just the outline and not the window content would be much faster. It is in the same list. It is the Show Window Contents While Dragging check box..... example shows it is unchecked.

 

Randy's Trick for Viewing Chart after Moving in Workspace that has a Scrollbar

18:38 Randy: Does your workspace have a scroll bar? I might have another solution CB

18:38 CB: yes

18:38 Randy: After moving the chart click the scroll bar... then back. Get it?

18:39 CB: ok - so eliminating the scroll bar will speed things up maybe

18:39 Randy: no, after moving the chart...click the scroll bar. Then click it again to see the chart

18:40 CB: ok - I will do that. Thanks randy

18:40 Randy: I have to do the same anytime I move a chart. Its a fast fix

18:40 Ensign Howard: Thanks randy

 

18:40 Ensign Howard: Also, double check that the Show Window Contents While Dragging is also unchecked in the same system performance options posted above. All this is good helpful discussion

18:41 Ensign Howard: gn