PureBytes Links
Trading Reference Links
|
Hello,
Yes you can move AmiBroker.RefreshAll OUTSIDE of Import function.
Just call it once at the very end of the script or remove it completely.
If no new symbols are added it is not really needed.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Bob Jagow" <bjagow@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, February 20, 2003 10:13 PM
Subject: RE: [amibroker] Two separate installations (not instances) of AB?
> Tomasz,
> Re speed, the brite.js script pauses quite a while filling the stock
> tree after each symbol fetch.
>
> Is there a workaround to the call of 'AmiBroker.RefreshAll();' for each
> ticker?
>
> Regards,
>
> Bob
>
>
> ----
> function Import( filename )
> {
> try
> {
> AmiBroker.Import( 0, filename, DestDir + "brite.format" );
> }
> catch( e )
> {
> return false;
> }
>
> /* refresh ticker list and windows */
> AmiBroker.RefreshAll();
> return true;
> }
>
> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
> Sent: Thursday, February 20, 2003 10:57 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Two separate installations (not instances) of
> AB?
>
>
> Ken,
>
> > Here is one for our esteemed leader and programmer and customer
> service
> > representative...
> >
> > Tomasz: I have been told that older versions of AB (4.20 perhaps)
> might
> > optimize faster because of less program overhead. No charting, or
> > commentary, or other stuff needed...just basic optimization crunching.
> >
> > I know AB is the fastest thing around, but could I get a faster
> > optimization run complete with an older version? Be candid!
>
> If I implement changes into AB I have always the speed in mind.
> Therefore newer versions should perform at least that fast as old ones.
> In fact some enhancements have been made so 4.xx versions are
> faster than 3.xx versions.
> As far as 4.20 vs 4.29 are considered there is no difference.
>
> > I have also heard that breaking up complex single line coded
> statements
> > into components will enhance the speed of an optimization. Is this
> > true?
> THe best way to increase speed is to use variables whenever you can.
> Instead of calling for example Foreign("$INDU","c") many times in your
> code call it once and assign result to the variable.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
>
> 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
> http://docs.yahoo.com/info/terms/
>
>
>
> 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 http://docs.yahoo.com/info/terms/
>
>
>
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 http://docs.yahoo.com/info/terms/
|