PureBytes Links
Trading Reference Links
|
Here is the explanation why I set this line in my code to "true":
/* ask the user for confirmation */
var AskUser = true;
If you set it to "false", then there is no way to abort the script once it's running, which can take a long time on databases with thousands of stocks. You just have to wait until the script finishes it's run. There might actually be some keyboard shortcut that allows aborting a JavaScript but because I'm not aware of it I use the following two lines to allow for 3 second pause every time the script finds a non-trading ticker:
/* ask the user for confirmation */
var AskUser = true;
/* wait n seconds for user's response and then execute DeleteByDefault route */
var Timeout = 3;
Lester
--- In amibroker@xxxxxxxxxxxxxxx, "Lester Vanhoff" <ebsn247lsm@xxx> wrote:
>
> Below you can see all user defined variables. Place them at the beginning of the code.
>
> /* USER_DEFINED_VARIABLES_START */
>
> /* detection threshold in days */
> var Threshold = 30;
>
> /* action taken when the user does not respond within the specified timeout */
> var DeleteByDefault = true;
>
> /* ask the user for confirmation */
> var AskUser = true;
>
> /* wait n seconds for user's response and then execute DeleteByDefault route */
> var Timeout = 3;
>
> /* USER_DEFINED_VARIABLES_END */
>
> and then the rest of the code:
>
> var oAB = new ActiveXObject("Broker.Application");
> var fso = new ActiveXObject("Scripting.FileSystemObject");
> var Shell = new ActiveXObject("WScript.Shell");
> etc.
>
> > I found that Yahoo EOD data for ASX is not good and not all there.
>
> Yahoo data is of poor quality for any market. It's only enough to play around learning how to use the software. There are lots of Aussie users on this forum who could help to find a better data source.
>
> Lester
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "ed" <ed.yarrington@> wrote:
> >
> > Is there a way to change the script file to do this automatically and
> > not to confirm delete all the time.
> > I just downloaded new data and there are quite a lot that are not
> > trading anymore.
> > One by one delete will take forever.
> > I found that Yahoo EOD data for ASX is not good and not all there.
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.5/645 - Release Date: 1/22/2007 4:10 PM
|