PureBytes Links
Trading Reference Links
|
I am having a number
of problems with my Yahoo database.
<FONT face=Arial
size=2>
With Amibroker
opened with the US Stocks database selected I have the following
problems:
<FONT face=Arial
size=2>
1. The indexes
do not seem to update properly. They are one to several weeks old, and some have
no data in them. Stocks seem to update correctly.
<FONT face=Arial
size=2>
2. The "clean
up data base" in TOOLS is very slow and misses empty indexes. I tried
using cleanup.js, but it just came on for a few seconds and didn't clean up
anything. I tried it again and it started to run like the ordinary "clean
up database".
<FONT face=Arial
size=2>
I looked at the
script and the code seems to be correct. Would it speed up the
process if I changed
var AskUser =true;
to
var
AskUser=false;
<FONT face=Arial
size=2>
What am I doing
wrong?
<FONT face=Arial
size=2>
<FONT face=Arial
size=2>Lionel
<FONT face=Tahoma
size=2>-----Original Message-----From: Marek Chlopek
[mailto:emcek2@xxxxx] Sent: Thursday, March 27, 2003 10:24
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker]
Cleanup DatabaseOn Thursday 27 March 2003 17:15, Marek
Chlopek wrote:> On Thursday 27 March 2003 15:41, Tony/Dianne
wrote:In addition, in C:\Program Files\Amibroker\Scrips folderyou
find cleanup.js file (java script)The very first lines in this file
are:===============================/* ** AmiBroker/Win32 scripting
Example ** ** File:
Cleanup.js **
Created: Tomasz
Janeczko, December 2th, 2000 ** Purpose:
Cleanup the database from not traded stocks
** Language: JScript (Windows Scripting Host)
*/ /* 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; <snip>========================as you
see you can modify options to your preference (this is ascii/text file, you
can edit it in notaped, norton commander, etc ...).BTW: 30 days is
indeed default detection threshold.Regards-- Marek
Chlopekmchlopek@xxxxxxxSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|