PureBytes Links
Trading Reference Links
|
"Bob Young" <polaris3@xxxxxxxxxxxxxxx> writes:
>For my first attempt, I selected ALL the symbols remaining in my
>portfolio, and copied them out to a single fileset (3.5 makes 4
>files, a .DAT file and 3 others, for each copy operation). I then
>closed the server, deleted the .DAT and .IDX files, opened the server
>again, and attempted to paste in the data.
I keep different numbers of days worth of tick data for the various
issues I follow, so it's natural to copy out to several filenames,
one each for the various history lengths. Each quarter I crunch my
roughly-ten-meg dat file down to roughly two megs, taking at most
a half hour on my clunky old 486.
I've learned that the copy-out/paste-in process produces the most
compact new dat file, over the other three methods I've tried:
1)rename the dat file, delete the idx file, and simply paste in
from the old dat file. produces the most bulky new dat file.
2)copy out all the keepers, relying on the portfolio settings to
restrict the number of days of each issue to their proper values,
then delete the old dat and idx files, and rename the new dat
file to *bonn.dat. nearly as bulky as the first method.
3)copy out all the keepers, using the max history period, then
custom paste in the various issues with their respective dates.
less bulky than the first two, but much more bulky than being
selective in the dates of the initial copy out.
I think the paste in operation must pick up some of the dead space
from a less-than-fully-compact dat file.
Needless to day, this is all done with the offline server.
Jim
|