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

Re: [amibroker] Deleting Stocks



PureBytes Links

Trading Reference Links

you could also try just moving them to a separate mrket/group or into
a watchlist and when scanning filter them out with the AA filter
settings - Exclude
Saves losing their history, also sometimes you keep getting the same
stocks back when you download new data

On 5/31/05, Terry <MagicTH@xxxxxxxxxxx> wrote:
> Bob,
> 
> Then watchlist works also for Graham's export AFL which will store them
> all into .csv files, then you can delete. Code below:
> 
> /*
> Export intraday AND EOD data to CSV files, one file for each stock
> In the first line insert the directory you want to save them to, make
> sure the directory exists
> Select your charts to export with the "Apply to" filter in AA window (or
> just pick "current symbol")
> Select the timeframe period you want to save as using the AA "Settings"
> Press Scan button
> by Graham Kavanagh 05 Feb 2004
> */
> 
> fh = fopen( "c:\\"+Name()+".csv", "w");
> if( fh )
> {
>   fputs( "Ticker,Date,Time,Open,High,Low,Close,Volume \n", fh );
>   y = Year();
>   m = Month();
>   d = Day();
>   r = Hour();
>   e = Minute();
>   n = Second();
> 
>   for( i = 0; i < BarCount; i++ )
>   {
>      fputs( Name() + "," , fh );
>      ds = StrFormat("%02.0f-%02.0f-%02.0f,",
>                     y[ i ], m[ i ], d[ i ] );
>      fputs( ds, fh );
> 
>      ts = StrFormat("%02.0f:%02.0f:%02.0f,",
>                     r[ i ],e[ i ],n[ i ] );
>      fputs( ts, fh );
> 
>      qs = StrFormat("%.4f,%.4f,%.4f,%.4f,%.0f\n",
>                     O[ i ],H[ i ],L[ i ],C[ i ],V[ i ] );
>      fputs( qs, fh );
>   }
> 
>   fclose( fh );
> }
> 
> Buy = 0;
> 
> --
> Terry
> 
> 
> | -----Original Message-----
> | From: amibroker@xxxxxxxxxxxxxxx
> | [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Bob Jagow
> | Sent: Monday, May 30, 2005 12:45 PM
> | To: amibroker@xxxxxxxxxxxxxxx
> | Subject: RE: [amibroker] Deleting Stocks
> |
> |
> | Put them in a watch list and select then delete its contents
> | from the 'assignments organizer' Bob
> |
> | -----Original Message-----
> | From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
> | Behalf Of areehoi
> | Sent: Monday, May 30, 2005 11:25 AM
> | To: amibroker@xxxxxxxxxxxxxxx
> | Subject: [amibroker] Deleting Stocks
> |
> |
> | I need to delete over 300 stocks with low volume & price from
> | my USStocks database.  Does anyone have a way to do this
> | other than  each one individually. I can put them in a comma
> | deliminated TXT file. Thanks for any help you may offer.
> |
> | Dick H.
> |
> |
> |
> |
> |
> | 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
> |
> |
> |
> |
> |
> |
> |
> |
> | ------------------------ Yahoo! Groups Sponsor
> | --------------------~-->
> | Has someone you know been affected by illness or disease?
> | Network for Good is THE place to support health awareness
> | efforts! http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/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
> |
> |
> |
> |
> |
> |
> 
> 
> 
> 
> 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
> 
> 
> 
> 
> 
> 
> 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/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/