Re: [amibroker] Recommended requirements to run amibroker, IB controller and TWS at the same time.

 

Check this script, it will run AB every time you try to close the it for 5 times


count = 5 ;
while ( count  )
{
    AB = WScript.CreateObject ("Broker.Application");
    AB.Visible = true;
   
    status = "";
    while (AB.Visible)
    {
        if ( status != "DataBase Loaded")
        {
            AB.LoadDatabase("C:\\Program Files\\AmiBroker\\Data") ;
            status = "DataBase Loaded";
        }

        WScript.Sleep ( 100 );
    }

   
    WScript.Sleep ( 100 );

    count --;

}


On 7/21/2016 11:08 AM, poo1971@yahoo.com.au [amibroker] wrote:
 


Hello everybody.

 

I'm looking for some help in working out the recommended system requirements to run amibroker, IB controller, debug viewer and TWS all at the same time.

 

So I have a live db Algo that runs in amibroker with IB controller connected to TWS which I have been paper trading for the last few months now with no problems. My old laptop that I have been testing it on is a 5-year-old Toshiba I 7 quad core 2.3 GHz – 3.3 GHz running 16 GB DDR 3 RAM and a decent video card (3 GB). It has hundreds of AFL formulas, 5 years worth of emails, thousands of photos videos and tons of other programs/junk that I have accumulated over 5 years not to mention it has the dreaded Norton Internet Security installed as well!

 

I bought a new laptop to dedicate to the system, it is a Toshiba I 5 dual core 1.7 GHz – 2.7 GHz running 4 GB DDR 3 RAM and a Intel HD graphics card (not a great one). I uninstalled all the bloat including the preinstalled Norton Internet Security. When I started testing the same Algo as above I have found that amibroker crashes intermittently but usually after the program has been running for 6 or so hours. I live in Australia and the system works on US stocks, so I set it at about 8 or 9 PM then go to bed. Amibroker usually crashes around midnight to 3 AM my time. TWS is still open and running fine in the morning, as is IB controller and debug viewer. It's just amibroker that closes.  I still thought the new laptop would have enough grunt as amibroker is not resource thirsty and TWS's recommended requirements were below the specs of the new laptop.... But maybe not all running at once.

 

Any help would be appreciated, including what machines you guys are running for the same type of task.

 

Many thanks

 

Brent.


__._,_.___

Posted by: Aron Pipa <aron@myafl.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Save time and get your email on the go with the Yahoo Mail app
Get the beautifully designed, lighting fast, and easy-to-use Yahoo Mail today. Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

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


.

__,_._,___

Related Posts


EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv