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

Re: [amibroker] How To Assign A Sector ID To An Industry ID- Using Code? PLEASE?



PureBytes Links

Trading Reference Links



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.wallgren@xxxxxxxxx> 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




__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___