PureBytes Links
Trading Reference Links
|
> I discovered today that the Y2k patch Omega released for TradeStation 4.0
> doesn't seem to be working properly. Specifically, TS did not recognize any
> ASCII dates above 991231. For example 000101 causes an error
Below is a very old post of mine that discusses it. Bottom line, it
works fine but you have to know which date formats work and which don't.
Also, the date format for ascii files is different than for EL programs
in power editor. (year 2000 = year 100 in power editor)
-------- Original Message --------
Subject: Y2K Patch: I'm a happy camper
Date: Sat, 17 Jul 1999 11:43:35 -0700
From: Dennis Holverstott <dennis@xxxxxxxxxx>
To: Omega List <omega-list@xxxxxxxxxx>
Well, I installed it and I'm quite pleased. I had some reservations but,
after some testing, I haven't found any serious problems. Good job
Omega. Here's what I've learned so far.
--------
Installation:
I already had B21 installed and didn't have any Y2K symbols in the
portfolio. The installation was flawless and didn't change any of my
settings. I added some 0H symbols and they seem fine.
Others have noted problems with 0H symbols but I think it's B21 that's
messing them up. It's possible that you could have been collecting data
with an older build. When you update to B21, before installing the
patch, B21 will mark them all expired. So, if you have 0H data you want
to save, copy it out, delete the symbols, add the symbols after the
patch, and paste the data back in.
--------
Dialog boxes:
It wants you to use 4 digit years. No biggie, works fine.
-------
DLLs:
I have some custom DLLs and I was worried that they wouldn't work. They
all seem to be fine.
-------
EL Dates:
EL seems to work fine with dates between the following....
Date EL Date Julian Date
1/1/1901 010101 367
6/4/2079 1790604 65535
Dates earlier or later than those cause problems with either the
datetojulian or the juliantodate function.
---------
Ascii file dates:
I use a lot of ascii files so this was a biggie for me. I set my
computer clock ahead to year 2000 and tried some things.
If you save the data window to a file, the date will be in mm/dd/yyyy
format.
I built some fake ascii files with different date formats and tried
loading them. The following 3 formats loaded fine. All had
Date,Time,O,H,L,C,V,OI header lines.
12/31/99,1615,1246,1261,1227,1240.9,0,0
1/3/00,1615,1239,1258,1239,1253.2,0,0
12/31/1999,1615,1246,1261,1227,1240.9,0,0
01/03/2000,1615,1239,1258,1239,1253.2,0,0
19991231,1615,1246,1261,1227,1240.9,0,0
20000103,1615,1239,1258,1239,1253.2,0,0
The following 2 would not load.
991231,1615,1246,1261,1227,1240.9,0,0
000103,1615,1239,1258,1239,1253.2,0,0
991231,1615,1246,1261,1227,1240.9,0,0
1000103,1615,1239,1258,1239,1253.2,0,0
I tried some current files with yymmdd dates and they loaded but gave
the old wierd plotting that we all know and love. Fortunately, most of
my ascii files use mm/dd/yy and won't need to be changed. CSI users who
build ascii files will need to change from yymmdd to "ascii with
century" (yyyymmdd) if they want them to plot right.
That's all I know for now. Hope it helps.
--
Dennis
--
Dennis
|