Hello,

Why you are using so complicated method when there is a built-in one 
that will trim
database when saving?
Go to Tools->Preferences, "Data" and use
"Limit number of saved quotations".

It takes NO additional time.

Best regards,
Tomasz Janeczko
amibroker.com

On 2010-04-14 03:07, rutle1 wrote:
> I have a large number of symbols in my database, and I collect all their 
> intraday quotes. But each night I like to remove all intraday quotes which 
> are greater than 365 days old.
>
> Removing one quote at a time in a loop using Quotations.Remove function takes 
> so long, even on a 2+ Ghz computer.
>
> Why can't we have a function like
>
> AB.Stocks(0).Quotations.RemoveRange(ByRef DateFrom As Date, ByRef DateTo As 
> Date)
>
> Rutle1
>
>
>
>
> ------------------------------------
>
> **** 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
>
>
>
>
>    

Reply via email to