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

[amibroker] Re: Adding industries to sectors, how?



PureBytes Links

Trading Reference Links

Thanks for you note. I understand all that. The problem I am having 
is that I am trying to set the database up completely different from 
what AB ships. I know where the sector and industry files are. I 
know they get assembled in The problem is that there are no scripts 
to associate an industry with a sector other than manually make a 
industry.txt file. There are no methods in their object model that 
has sector methods as they do stock methods. That is what I was 
trying to find. 

I got tired of trying to figure out how to do it in AFL or script 
and wrote it in Visual C++. Problem solved. I had just assumed there 
would be some way in AB to do the programming. Seems not.

Thanks again for your note,
Barry

--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxxx> wrote:
>
> In the Amibroker directory there are 2 files broker.sector and 
broker.industries
> 1st time setup delete broekr.workspace in database directory with 
AB
> closed. Have the 2 broker files with the correct setup.
> When you open Ab to that databse the sectors/industries should be
> setup o what you want.
> Then just run the js file with your csv file set with symbol and
> industry number.
> this is a nutshell description. and is all explained in teh 
newsletter/help
> 
> 
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://e-wire.net.au/~eb_kavan/ab_write.htm
> 
> 
> On 11/14/05, Barry Scarborough <razzbarry@xxxx> wrote:
> > I manually changed the sector names and now I want to assign the
> > industries to the correct sectors. How do you do that? The 
industry.js
> > script requires a symbol, full name and industry number.
> >
> > But there seems to be a step required before that. How do you 
run a
> > script that associates an industry to a sector? Once that is 
done then
> > industry.js can be run to assign stocks to the correct industry 
and
> > sector (by default).
> >
> > Thanks,
> > Barry
> >
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links

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

<*> 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/