You can modify these two files: broker.sectors, broker.industries. They will be loaded into any new databases you create afterward.
On Sat, Sep 26, 2009 at 11:47 AM, jorgen_wallgren <[email protected] > wrote: > > > As I mentioned, the whole idea is to do it via code- not manually. I don't > want to spend hours every day assigning it manually for every time I create > a database. :-) > > I know it can be done via JScript, but don't know how? > > Jorgen > > > --- In [email protected] <amibroker%40yahoogroups.com>, Mark Hike > <markh...@...> wrote: > > > > I don't think you can do it through JScript. You would need to do it > > manually via *Symbol->Categories* , assigning industries to sectors. > > I may be wrong though since I just skipped the document for import. > > > > On Sat, Sep 26, 2009 at 8:40 AM, jorgen_wallgren > > <jorgen.wallg...@...>wrote: > > > > > > > > > > > Hi! > > > > > > I am working on some AFL code which imports tickers to an empty > database > > > (using Jscript for bringing in the tickers). Then I use AFL code for > > > assigning each ticker to a Market, Group and Industry and it works > great! > > > :-) > > > > > > My problem now is that I can't get the Sectors assigned to the > Industries. > > > As far as I understand I have to use Jscript to accomplish this... Or > can it > > > be done uing AFL? > > > > > > My AFL code reads the ticker data and I get the data which Industry ID > > > belongs to which Sector ID- for example Industry ID 11 (Specialty > Chemicals) > > > goes with Sector ID 5 (Chemicals). > > > > > > But how do in my AFL code (using Jscript I guess…) assign the given > Sector > > > ID to the given Industry ID? > > > > > > I really would highly appreciate some help with this problem since it's > the > > > last missing piece for a fully working automatic ticker import > solution. > > > > > > Thanks, > > > > > > Jorgen > > > > > > > > > > > > > >
