PureBytes Links
Trading Reference Links
|
--
Best regards,
Jimmy Snowden
mailto:jhsnowden@xxxxxxx
Outgoing mail scanned by Norton
TS2ki Repairs
Clean install of Tradestation 2000i
I suggest you copy your complete Omega Research folder to another location with a different folder name.but leave the original files where there were don?t cut and past just copy and paste. Also I recommend you backup your registry. These instructions are designed for Windows 2000 and XP but are probably about the same for other Windows operating systems. A clean install verses an install on top of the current one is the best cure for most TS2ki problems. You will need your password to reinstall. You will lose your holiday list and your custom toolbar. Your optimizations reports will be the default so you lose any changes you made to the report. This whole operation takes me maybe 30 to 40 minutes to be running again with the toolbars fixed and the optimization report reformatted. When I use GS this means Global Server. Copy or backup your data means you COPY and PASTE it somewhere else. Never does it mean Windows backup or cut and paste.
Clean install
Close all tradestation programs. Reboot if you wish. I don?t. Go to Start-run-type in regedit. When the registry comes up expand the HKEY_LOCAL_USER then expand Software and scroll down to the Omega Research folder. Delete it. Close the registry and reboot if you wish, I don?t. Turn off your sound if you don?t want to hear the sales pitch again. Put your TS2ki disk in and install using the correct choice for your data feed. When you get to the part about overwriting indicators and functions I choose skip all. They should be ok or always have been for me. Now you really do get to reboot. If you wish you can now enter your holiday list, customize your toolbar and customize your optimization report.
Non Clean install.
Turn all your TS2ki programs off then reboot and pop the disk in and install right on top of what you currently have. This fixes many problems. You will not hurt anything or lose anything. I?ve done this hundreds of times.
Workspaces
Charting crashes while your workspace(s) are open and your charts might turn white or the error OrTrade pops up. This might happen as you try to change something in the workspace. This happens after using a workspace for several weeks or months and you make a lot of changes to it and or do a lot of system testing. Here you are simply stuck and will need to build a new workspace unless you have a backup of it. A good test to see which workspace is corrupt is open your main workspaces, if you have several open, if it crashes again then it might be corrupt. So now reboot and open a different workspace or make a new simple one and if it doesn?t crash then the other one is corrupt. If you have lots of workspaces open then the main one you use is probably the corrupt one. So test them one at a time. If you have your charting set to open the same workspace or several of them automatically when you open charting then open the Omega Research folder and choose the MyWork folder and rename the workspaces that are loading automatically. Say one is called myworkspace.orw then make it Zmyworkspace.orw do the same thing for the others if you have more than one. Then charting opens but finds no workspaces. Now you can test them one at a time to find the corrupt one.
When you build a new workspace make a backup of it. When it is open in charting choose File then Save as. If it is called ES then save it as ES2. Then save it again as ES so it will be the one opened the next time you open charting.
Don?t backup your workspaces all the time as you will eventually backup a corrupt or nearly corrupt one. When you build it save it as ES2 then a few days later save it as ES3 and so on. Then when the main workspace is corrupt open the highest number workspace and if it doesn?t work then open the one before that one.
Data problems
ReIndexing
What does reindexing look like. The Global Server crashes then it looks like it is frozen. It isn?t frozen it?s reindexing your data. Actually anytime you think the GS is frozen it is really doing something. Let it run this will save you a million headaches. If you have to kill it off you will have data problems or wind up doing a clean install sooner or later. Reindexing takes a lot of time if you have a lot of data. 100 meg of data takes a couple of minutes. 15 gig of data takes my computer 3 « to 5 hours.
If you are having data errors but the GS doesn?t automatically reindex then reboot, copy the contents of the PDS folder to a new folder then in the original PDS folder delete all the files that have an extension .idx. Then open the GS and it will reindex the data. Don?t be worried about deleting the .idx files. If you copied the PDS folder contents to a new folder then you are safe. You can always bring them back and be where you started. You can watch reindexing in the Task Manager if you have all the columns enabled. To enable the columns choose view then columns and add them. The I/O read Bytes and I/O write Bytes are the ones to look for. As long as they are growing indexing is running and the GS is not frozen. See below for other data fixes.
Fragmented Data
Your data will eventually get super fragmented. In fact it is fragmented the first minute live data comes in, and it only gets worse. For safety make a folder and call it something like Apds. Close all Tradestation programs then copy all your files from the Omega Research\Server\PDS folder to the backup one you just made. Your symbols are in files in the Server folder so it is a good idea to copy them to a folder also. Just copy all the little files in there you don?t need the folders copied except the PDS folder. If you have the space just copy the whole Omega Research folder. The data is usually most of the size so make it easy and copy the whole thing to a safe place.
Mid day crash of the Global Server
If the Global Server crashes on you during the market day and you don?t want to lose data for the rest of the day then there is a way. This is not a repair. This is temporary to get your data for the rest of the day so you can fix your data later. If you know the GS is going to reindex the data after you reboot and restart it then do the following. If you don?t know it will reindex and want to take a chance then reboot and restart it. If it starts reindexing you will have to force a close using the Task manager then reboot. Then change the name of the C:\Program Files\Omega Research\Server\PDS folder. Rename it to PDS corrupt or some such name. Now simply start the GS and it will make a new PDS folder and start receiving data. At the end of the day export all the data for all the symbols. Close all Tradestation programs. Rename the PDS folder PDStodayonly then rename CurPDS to PDS and open the GS. Let the old data reindex. If you have 100 meg of data it only takes a couple of minutes or so and you wouldn?t be doing this anyway. If you have 15 gig of data it could take 3 « to 5 hours. When the reindexing is finished then import the data you exported. You will still have a gap but not a whole day missing.
The True test for TS2ki and program integrity
Ok the ultimate fix for data is only available if your data is indexed and your program is running correctly. So if this doesn?t work then do a clean install and then try it. You may have to force a reindex of your data as described above.. There are several ways to do this. If your data is small as in 100 meg or smaller you can export all your symbols at one time to a file. Now be absolutely sure you have backed up your PDS folder before you do this. Better yet backup the whole Omega Research folder. Why all of it? It?s easier. Then choose the symbol or symbols you exported data for and choose to delete data. They should still be highlighted after your exported them so right click a highlighted area then choose delete data. Deleting data will take as long as exporting data. When it is though deleting then import the data back in.
Quick and dirty data clean up.
Take the really busy symbols you use a lot and just export the data, delete the data then import it . Do them one at a time as there are not many that are real active. Don?t forget to backup your data. See above if backing up your data then exporting data , deleting data and importing data is not clear.
Super Data fix for Huge Data
Say you have 13,000 symbols and 15 gig of data and you want to keep collecting for all symbols but your data is getting too large and you really don?t need all the symbols all the time. Here is how you can trim it down.
Copy your Server folder to a safe place or at least the PDS folder. Then try exporting 500 symbols. Right click that group when it is finished exporting and choose delete data. Now import that group back. This will give you a feel for how large the exported file is and how long it takes to export it then delete it. Too large a file might run for days. Now check the symbols you worked on to be sure all the data came back successfully. If it doesn?t bring the data back then copy your backup copy of the PDS folder into the PDS folder. Leave the safety copy out there for now, just in case, then try reindexing the data. See reindexing above if you don?t understand this. If it doesn?t import and export correctly then do a clean install of TS2ki. See above for clean install. Then try the export again.
If your import is successful then keep exporting and deleting until you are out of time for the day. Do this again after the market closes each day for five to seven days then choose all the symbols you have exported and export all the new data that has come in and then delete all that data for those symbols. Now go back to exporting all the other symbols you have not done yet. Each five to seven days do another complete export and delete on the symbols the major export has been done on. This way when you are finished exporting all data you will only have a little data in the PDS folder and it is all current. Then export it also and just import only the symbols you need to chart. You can bring data back for any symbol any time after this by importing only 2 or 3 files. Be sure you name your files so they are easy to know what is in them later. I listed mine like this:
Stocks_A_AIPNE_073103.xpo
Stocks_AIQ_AMBR_073103.xpo
Etc?.
All_to_080203.xpo (this is all the data that came in for the above symbols to the point I started a new group after a few days..
So the next group would start as follows:
Stocks_AMRN_AVATQ_080203.xpo
And so on.
Misc.
TS2ki doesn?t clean up temp files. If you are having import and export problems that are fixed by cleaning out the C:\documents and Settings\?folder with your name on it?\Local settings\temp folder then try a clean install. This will probably correct the import problems. You may also have to force a reindex of the data after the clean install.
If you have any problems with the above I take no responsibility. If you make a copy of your Omega Research folder and it is copied without error then you will always be safe. Make multiple copies of your data as you go in the event you don?t see problems. Hard drives are cheaper then no data. All the above is predicated on your Computer running correctly. Tradestation will work pretty well unless you have Windows problems.
Final
So if you want TS2ki to run well all you need to do is first be sure Windows is as perfect as it can be. Then do the clean install of TS2ki. Now export and import all your data using some version of it above. That?s it that is as good as it gets.
Sometimes I do a clean install of TS2ki with all the Start programs turned off. How? Start-run-msconfig then make note of the Start menu programs in the Start tab. If all of them are checked then uncheck them. In XP when you reboot they will all be off and at each reboot you get the chance to turn them back on until you set the options not to see the menu again. Now do your clean install of TS2ki..
Good luck,
Jimmy Snowden
jhsnowden@xxxxxxx
|