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

RE: [amibroker] I give up! (how to delete a composite)



PureBytes Links

Trading Reference Links

You can use this to put the tickers in a certain watch group and then delete them via the Assignments like Prashanth said.

 

 

Use this in Analysis, auto Analysis and then run explore.  Then use Symbol à Organize Assignments à Select Watch Group 63 and delete all symbols in it.

 

 

/* Use to find various tickers that will then be added

to watch list */

 

AddTextColumn(FullName(),"Name",1.2,colorBlack);

//AddTextColumn(IndustryID(1), "Indistry");

//AddTextColumn(GroupID(1), "Group");

//AddTextColumn(MarketID(1), "Market");

 

Filter = 1;

if( Filter=StrFind(Name(),".X"))

{

CategoryAddSymbol( "", categoryWatchlist, 63 );    // adds to a watchlist named 63

}

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Prashanth
Sent: Monday, December 31, 2007 10:39 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] I give up! (how to delete a composite)

 

Herman,

 

If you want to delete atc's having a particular substring, the best option in my opinion is to Export the ATC list to Excel, there using AutoFilter, Filter for your choice of tickers to be deleted. Save the results in a seperate csv and then import them into a watchlist and delelte using Organize Assingments.

 

Hope this method helps you in achieving the desired result.

 

Cheers

 

Prashanth

----- Original Message -----

From: Herman

Sent: Monday, December 31, 2007 8:30 PM

Subject: [amibroker] I give up! (how to delete a composite)

 

anyone knows where to find the code to delete (remove permanently from the db) a composite? I had it at some point but lost it. 

 

Also, can wild cards be used? If i have 100 composites and want to delete them based on a substring, how to do that?

 

I spend two hours looking everywhere, lots of references to its need and how to code it (relevant posts/comments go back several years!) but they are all fragments that presume ole knowledge. Its a real pain to have to waste so much time on finding such a simple function.

 

Anyone want to make my day and give me a complete working solution?

 

many thanks and a happy new year!

herman

__._,_.___

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

__,_._,___