Instructions and
Hints for working with CSV or ASCII data in Tradestation 2000i
On this site you will see a great deal of ASCII data. Actually, it is stored in Zipped format (.ZIP), but once you unzip
this using WinZip www.winzip.com or UltimateZip (a personal FREEWARE favorite
of mine) www.ultimatezip.com, you
will see that they are in text (.txt) or Comma Separated Variable (.csv)
format. These are all forms of ASCII,
meaning that they have no additional formatting or control codes included. This document, in contrast, has lots of
additional formatting to produce these colors and fonts.
Errors opening the file?
When you try to open a
.csv file on your computer, it will most likely launch in Microsoft Excel. That’s because your computer has very helpfully
associated the .csv file extension with that program. It doesn’t mean you can’t open it with some other
application. You can’t double click the
file, but instead will have to open the other application, like MS Word, then
open the .csv file from within Word.
Many of the files on
this site contain a lot of data. MS
Excel can hold only 65,536 rows of data.
So, if you are looking at 1 minute data going back four years, that’s
(390 minutes/day * 240 days/year) or 93,600 lines of data. You’ll get an
error message when you try to open this in Excel. It doesn’t mean that the data’s bad. If you want to somehow modify the data,
you’ll need to use a program like MS Access (database program) or MS Word to
open the file, then do your changes in there.
Just unzip these files that you’ll find on this
site into a folder location that you will remember later. Launch Tradestation, if it’s not already
open.
You are now looking at your ASCII data loaded as
you specified in a chart. You can use
it just like any other data you are accustomed to.
To avoid going through all of those steps above, save this chart in a workspace. Now you can just open the workspace when you want to use the data.