Title: Re[2]: [amibroker] Re: Speeding up code ???
fwhiw, you can partition and prioritize RT code, and execute sections of code on a schedule that doesn't conflict with placing trades. This allows you to run code code in RT that would lock up any other way. Using getrtdataforeign() and simple formulas I can scan, in RT, 100 (easy) to 500 (pushing it) tickers in real time, and display the top candidates using a gfx chart. While i can't tell you what happens 'under the hood', it seems to work just fine.
You may also be able to partition code based on BarsRequired and run formulas in a separate panes, each with the minimum number of bars required. Use Static Arrays to share results. Also, many real time trading routines only need a few prices you can keep track of yourself - separate these from the arrays processing pane.
Anyway, we all have to figure out what works for each of us.
herman
Thursday, July 2, 2009, 12:18:29 PM, you wrote:
> Hello,
> Especially in Real-time you should *not* put very lengthy codes in
> indicators
> because it could cause delays in processing RT data.
> General guideline is NOT to use codes that need more than 0.1 sec
> to execute in any indicator.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> gmorlosky wrote:
>> Hi - I would debate that EOD applications are just as intense as RT as during EOD there is as just as much to decipher. See one of my screen's image in the Files section = HeatMaps_RelStr.jpg
>>
>> Re[2]: [amibroker] Re: Speeding up code ???
>> Tomasz, for EOD applications you are right but for real-time application many of us would prefer to use a single integrated GUI. This GUI typically provides all trading functions in a convenient single display. This includes charts, screening, button panels, matrix presentations, placing orders, gfx, etc.
>> If you ran a poll you would probably find that 90% of RT users loop through Tickers in indicators to obtain real-time sorting, screening, etc. They do not use the AA that must be launched separately.
>> Adding some afl function to run, and collect data from, AA operations would be great. The continuous DT reference array mentioned in another post is also often needed when running from an indicator... Setting the current ticker to such an arrays, from afl, would be another requirement....
>> Best regards,
>> herman
>> <<<<<
>> ------------------------------------
>> **** IMPORTANT PLEASE READ ****
>> This group is for the discussion between users only.
>> This is *NOT* technical support channel.
>> TO GET TECHNICAL SUPPORT send an e-mail directly to
>> SUPPORT {at} amibroker.com
>> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
>> http://www.amibroker.com/feedback/
>> (submissions sent via other channels won't be considered)
>> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
>> http://www.amibroker.com/devlog/
>> Yahoo! Groups Links
>>
> ------------------------------------
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> Yahoo! Groups Links
> <*> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
> <*> Your email settings:
> Individual Email | Traditional
> <*> To change settings online go to:
> http://groups.yahoo.com/group/amibroker/join
> (Yahoo! ID required)
> <*> To change settings via email:
> mailto:amibroker-digest@xxxxxxxxxxxxxxx
> mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> <*> 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/
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|