Hello,
You don't need any magic. Simply call PlaceOrder with DAY as
time in force or specific date/time (GTD)
and it will cancel itself if limit is not reached / order is
not filled for specified amount of time.
YOu mal also add "allOrNone" attribute if you want order to be
filled completely or canceled.
Best regards, Tomasz
Janeczko amibroker.com
----- Original Message -----
Sent: Wednesday, March 05, 2008 6:14
PM
Subject: [amibroker] Autotrade - ibc
code
Has anyone written code - and is willing to share
- to place limit order with autotrade and track and cancel / replace order if
they are not filled?
Thanks
Ara
__._,_.___
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
__,_._,___
|