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

Re: [amibroker] Script for database cleanup



PureBytes Links

Trading Reference Links

Hi Barry,
 
Yes, I have and posted it within the last couple months.  If you can't find it (I called it EZ Cleanup), I'll repost.  It wasn't posted to files as they are getting too full. Basically to edit out the one thing you mention, change the following lines at the start of the code to the following:

/* detection threshold (in days)  */
 var Threshold = 20; // one month for example
/* by default do not delete = FALSE , EDITED TO TRUE so automatically deletes*/
 var DeleteByDefault = true;
/* ask the user for the decision - default is true  EDITED TO FALSE so no intervention required*/
 var AskUser = false                       
/* a timeout to wait until default route (no deletion) is taken */
 var Timeout = 5;

On the topic of the saturated files area, some judicious cleaning might be a Good Thing.  Last I looked, there were excellent historical examples of code, but also stuff that really could be deleted as out of date, duplicative, or unnecessary (IMHO). E.g.: is the ASX information from Dec 2000, or earlier than the most recent set still valid,  , the SP500 ticker file from May 2002, the TSE lists from 2002, or do we need to have wav files stored here? .  Could some of the afl coding be moved to the afl library on the amibroker site?  Just a thought to those that have filed stuff and then forgotten it or left it without updating and maintaining. 

 
Peace and Justice   ---   Patrick
----- Original Message -----
Sent: Saturday, October 29, 2005 10:26 PM
Subject: [amibroker] Script for database cleanup

Has anyone changed the cleanup.js to eliminate the pop-up windows and
just deleted any symbols that were inactive or have no quotes? I would
really like to have a copy of it if it exists.

Thanks,
Barry





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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment analysis software


YAHOO! GROUPS LINKS