It is easy using StaticVariables, if you are not using them you will not succeed in getting your system up and running.
You cannot retrieve pending information from the IBc.
You have to do your own "bookkeeping" in code, just like you would trading manually.
herman
Wednesday, March 28, 2007, 10:45:45 AM, you wrote:
> Herman,
> as I understand the executions file in IB only contains filled orders.
> What I'm after is pending order data other than it's status (basically
> stop/limit prices)
> What I noticed is that ibC already picks up pending orders in the list
> even if these are not generated in Amibroker, and even getstatus()
> works on these orders. It would be great to find a way to read this
> orders, then modify them and re-submit them through Amibroker.
> Do you see any other way of doing it?
> cheers,
> Claude
> 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/
>
__._,_.___
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
SPONSORED LINKS
__,_._,___
|