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

Re: [amibroker] How do I delete a symbol from a Database via an afl?


  • Date: Fri, 18 Dec 2009 18:17:38 -0500
  • From: Herman <psytek@xxxxxxxx>
  • Subject: Re: [amibroker] How do I delete a symbol from a Database via an afl?

PureBytes Links

Trading Reference Links

this was contributed by a kind person on this list. Sorry, i can't 
remember who it was.

herman

DeleteTickers = ParamTrigger("Delete Tickers", "Click Here To Delete 
Tickers");

if ( DeleteTickers )
{
    TickerList = "ALY,CALM,FCX,GLF,PNCL,RS,SCHN,STLD,WNR,X";
    oAB = CreateObject( "Broker.Application" );
    oStocks = oAB.Stocks();
    for( n=0; (Ticker=StrExtract( TickerList, n))!= ""; n++)
    {
        oStocks.Remove( Ticker );
    }
    oAB.RefreshAll();
}

bistrader wrote:
> I know how to manually delete a symbol from a database.
>
> And, I know how to remove a symbol from a watchlist or group via an afl, but I can NOT figure out how to delete a symbol from a watchlist or group via an afl.
>
> An example on how to delete a symbol from a database via an afl would be appreciated and thanks.  Or, maybe it can't be done.
>
> ...
>
>
>
> ------------------------------------
>
> **** 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
>
>
>
>
>
>   


------------------------------------

**** 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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/