[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CTREE editing



PureBytes Links

Trading Reference Links

I started once to decypher the ctree structure but was then 
distracted to other subjects:

it starts:

Field, meaning, length, datatype

1, Symbolname,16, char
2,date in Omega format,2, 16bit integer
3,???,2,16bit integer
4,???,2,16bit integer
5,???,2,16bit integer
6,???,2,16bit integer <- could be the baseprice -first tick of day
the following fields should be always time and difference prices.
Note that integers could be either 0 to 64k or -32k to +32k
I suspect that the baseprice is in the former and the diff prices in 
the later format.

in 3,4,5 should be somewhere the start time of the first tick.
Time should be minutes since midnight
Date is days since 1.1.1901 if I recall correctly.
A new record starts always on a new day.
Each record holds obviously only data for one symbol.

The easiest way to deciper is to get small history for one day, one 
symbol in the server, print it out. Then go into datajunction find 
the record and deciper.

Please post the results of your findings so that someone can build 
some tool to correct bad ticks.

Gerrit

> Don,
> 
> There is a piece of software called Data Juntion that will read and convert
> CTree files. Only gotcha is you nedd to know the file structure. Anyone
> know or will Omega give it up? Doubt if anyone in support has a clue even
> if Bill would agree.
> 
> 
> 
> At 11:02 PM 2/14/99 -0800, you wrote:
> >Has anyone every discovered a program or method that allows one
> >to directly edit the tick file ?
> >
> >I have tried hundreds of times to copy-out and paste-in data to
> >reduce the size of my tick file (750MB), but some files always
> >cause CTREE errors, even the OMZ files from the Omega website.
> >Even a fresh installation of TS doesn't work for long without
> >getting the errors.
> >
> >donc
> >
> >
> >
> 
> 
Gerrit Jacobsen
http://www.tickscape.com