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

Re: [amibroker] Re: Best way to run fast and slow tasks



PureBytes Links

Trading Reference Links



yes, there is two way communication. When i click in my GUI it reads from a table, for example to show my top n tickers to trade. The GUI code doesn't do much unless I click, the it will place orders, change parameters, etc.

herman

Rob wrote:
So your GUI needs the results of the slower code...?

--- In amibroker@xxxxxxxxxxxxxxx, Herman <psytek@xxx> wrote:
  
That is what i want to do Rob. Right now my slow code is together with 
my fast GUI. I have three panes, the panes execute in arbitrary 
sequence. I would assume that if i have three window they also would 
execute in arbitrary sequence. Amibroker will not parallel process the 
windows or  panes. So the delay will always be there if my code runs in 
the same AmiBroker instance.

What i want to know is if i run two AmiBroker instances, would Windows 
do the same thing, i.e., there would still be pauses in my GUI 
execution? Or would, because we have multi-cores, would both AB's run 
independently in parallel, and the GUI would run as if the other code 
didn't exist?

herman

Rob wrote:
    
Herman,

Why can't you have the a floating control panel with the GUI code in it, and pass everything from that panel to the heavier code in other charts via static variables....?

I actually have a GUI panel that I use in my main charts... I also have a heavier piece of code that I execute periodically (every 5 mins - but I could make it every one min) via a scan... actually I don't care about scanning... that's not the purpose of the code... It's just heavy code that uses a lot of historical bars that I want to execute in the background periodically and I pass the results of that heavy code to my other charts via static variables.



------------------------------------

**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___