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

RE: [amibroker] IB RT + Foreign() + 100% CPU Usage



PureBytes Links

Trading Reference Links

You could try reducing the number of bars loaded in your data base settings. Same for Number of bars to load in Preferences, under Data.
 
Also, stay away from using SetBarsRequired() with high arguments.
 
Not sure anymore which are include in this category but there are some functions that will process the entire array without you knowing it, for example Equity(), Cum(), Highest, Lowest, etc.
 
best regards,
herman.
-----Original Message-----
From: dirk schreiber [mailto:tianatrading@xxxxxxxxx]
Sent: Thursday, April 14, 2005 6:26 AM
To: amibroker
Subject: [amibroker] IB RT + Foreign() + 100% CPU Usage

hello group,
i recently ran into problems with 100% CPU usage running amibroker RT with IB plugin. i wondered if someone could share some technical insight as to the tech specs needed for the type of trading i am doing.
 
here is the scenario:
i run amibroker pro RT with the latest IB plugin. i switch between various layouts, which usually have 6 different windows open. one of these windows is my "statistics" formula which references about 20, sometimes up to 40 different tickers via Foreign() statements. the formula in itself does not include heavy calculating (i think), no Cum() or other stuff, just some basic %change and loads of WriteIf() and AlertIf().  - still it eats up 100% CPU usage all the time, quite apparently because of all those Foreign() statements.
 
what type of machine would i need to run this type of scenario?
my specs: AMD Athlon 1700+, 256 RAM, Win XP, ADSL 512/128, AB Pro RT with IB, 1min database, chart refresh at 20sec
specs needed ??
 
note that AB can actually do this, my system does not hang up (for 6 and a half hours trading at 100% CPU though) and i can trade the way i want to. but when switching between layouts or alt-tabbing to another application, amibroker may take 5-20 secs.
 
so, what's the way? more cpu? eSignal? is eSignal plugin less CPU-intensive?
 
thanks for any insight,
dirk


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html




Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!


Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





Yahoo! Groups Links