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

[amibroker] adding sector and industry-group info to exising symbols



PureBytes Links

Trading Reference Links

Hi,

I want to ADD sector and industry-group info to existing symbols in a
certain WatchList and I have a comma-delimited text file with the data in
this format:

    ticker, sectorID, groupID

where I have the sector IDs correspond to those in 'Tutorial: Working with
sectors and industries'.

My first-draft .FORMAT file look like:

    $FORMAT TICKER ?? GROUP
    $SEPARATOR ,
    $AUTOADD 0
    $OVERWRITE 1
    $WATCHLIST X             (where X is the number of the target watch
list)
    $NOQUOTES 1

Questions:

    a) in the first line, in order to get the Sector IDs, what should I
replace '??' with?
    b) is my $AUTOADD flag set correctly or should it be '1'?
    c) do the Industry Names in broker.industries like:

            8 Advertising
            1 Aerospace & Defense
            10 Air Courier
            10 Airline

       map to a (perhaps zero-based) numbering system?

thanks,

-john



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/