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

[amibroker] Programmatically creating Groups, Sectors, Markets etc ?



PureBytes Links

Trading Reference Links

Hello,
 
I have an AmiBroker database comprising of around 1500 stocks which I would like to assign to specific Groups. Using Visual Basic and AmiBroker Object Model / COM, I would like to assign GroupID to each of these stocks by reading from external text file (each file contains a list of stocks for that specific Group).
 
In the object model, to assign a stock to a specific group, the GroupID property of that Stock object should be set accordingly. So,
 
1) Is it possible to get the list of Groups (by name) and their corresponding GroupID ? For example, can I find out whether a Group by the name "Optionable Stocks" exists and if yes get its corresponding GroupID ?
2) If this Group does not exist, then is it possible to programmatically create such a Group and retrieve its GroupID for subsequent use ?
 
I could not find any documentation for creating / renaming new Groups etc - so wondering if there are any tricks for the same.
 
 
Thanks in advance,
Adheer.
__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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




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

__,_._,___