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

Re: [amibroker] Event driven afl with IBController?



PureBytes Links

Trading Reference Links

Hello,

You can poll the status of any order you have submitted differentiating them via OrderId 
that you get once you call PlaceOrder.

You can ensure that your formula is executed in constant intervals as often
as every second using RequestTimedRefresh.


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Steve Davis" <_sdavis@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, October 17, 2008 11:25 PM
Subject: [amibroker] Event driven afl with IBController?


> I'm just getting started with the IBController. I am planning to run
> my afl in the AA, not in an indicator. So the first question is what
> event(s) will cause my code to execute? How will my code be notified
> of asynchronous responses to my requests? 
> 
> For example:
> How will my code know when IB responds to an order request?
> How will my code know when an order is filled?
> If I place multiple orders without waiting for responses how will my
> code know which order IB is responding to when the response eventually
> arrives? I am assuming responses will not necessarily arrive in the
> same order as the requests.
> 
> Thanks,
> Steve
> 
> 
> 
> ------------------------------------
> 
> **** IMPORTANT ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
> 
> *********************
> TO GET TECHNICAL 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
> 
> 
> 

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

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL 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/