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

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



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, Mark Hike <markhike@xxx> 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.wallgren@xxx>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/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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