How to create DataSet XML file?
Author: tradercn
Creation Date: 1/3/2014 4:07 PM
profile picture

tradercn

#1
My datasets are based on txt files, formats are the same. Since I want to compare indices of different categories, or GICs, I have to make datasets for different categories manually. But this job is time consuming, I try to make datasets by writing a program. Is there any simple way to make datasets xml files? Thanks.
profile picture

Eugene

#2
You're on unsupported territory, but there are some pointers and sample code in the old discussions e.g.:

How to create/convert GICS database for symbols WL5
Delete list of symbols from Watchlist programatically
How to create Dataset dynamically?
profile picture

tradercn

#3
Thanks, it is clear while more difficult than I expect.
profile picture

Eugene

#4
Also note that DataSets created manually will appear in WLD only after restart.
profile picture

Cone

#5
It would time consuming, error-prone, inconvenient, and inflexible to move ASCII files around per it's GICS code.

Why wouldn't you put all of the symbols in a single location and filter for the GICS code in your script? Presumably you already have a way to look up a GICS code by symbol, right?
profile picture

tradercn

#6
This is a great idea. I didn't notice.

Thanks, Cone.