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

[amibroker] how to program in real-time in IB?



PureBytes Links

Trading Reference Links

Hello
I'm really confused about how to program buying rules in the real-time.
I want to do someting not very difficult, I hope.
I use Interactive brokers with the IB plugin, and the connection works 
fine in AmiBroker.
I just want to do a system that check every minute if any of 5 shares 
(that I have previously selected) is good for buy.

So, I need a simple code that checks for all the 5 companies if a 
condition happens (e.g., cross of the MA's). Whenever one company 
accomplish that condition, the system buy that company, and the system 
ends, break (I just want to buy one, the first that have the condition..

May anybody tell me how to do this?

Thanks in advance



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

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
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/