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

Re: [amibroker] Cleanup database



PureBytes Links

Trading Reference Links

These are the parameters in cleanup.js (in scripts folder) which control the
behavior.

/* detection threshold (in days)  */
var Threshold = 30; // one month for example
/* by default do not delete */
var DeleteByDefault = false;
/* ask the user for the decision */
var AskUser = true;
/* a timeout to wait until default route (no deletion) is taken */
var Timeout = 5;

You will need to modify these to suit your usage.
The above prompt you for deletion of ticker which less than 30 days of
quotations. If no response in 5 seconds, it carries on without deleting.

Geo


----- Original Message ----- 
From: "Dimension" <dimension@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, November 19, 2004 09:30 PM
Subject: [amibroker] Cleanup database


>
> Hi,
> I am running "Cleanup Database".  It is poping up a dialogues telling "X
Has
> not quotes, Do you wish to delete?" (where X = to a symbol).  However,
after
> about 5 or so seconds, the dialogue disappears and another re-appears,
> before I get a chance to respond.  Why does this happen and how can I
> prevent this from happening?  Also, can someone describe how this thing
does
> it's thing?  Does it query the Datasource to determine if a symbol is
valid?
>
> Btw, enhancement suggestion: It would be good if this function summarizes
> and presents all discrepancies and errors on one page/popup/dialogue and
> offer the user the opportunity to reconcile data from that page.
>
> Thanks much
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
>
>
>
>
>
>
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/