boreland
12-27-2009, 03:41 PM
When using the CancelOrder() method I'm finding that the order is not canceled immediately, but rather at the start of a new bar. Is it supposed to work like this?
When I create an order through chart trader, and then close the order, it closes immediately. How can I achieve this level of response programatically?
Thanks
Peter
Update: O.K. After many hours I've got this issue sorted, one must use this limit order method -
EnterLongLimit(int barsInProgressIndex, bool liveUntilCancelled, int quantity, double limitPrice, string signalName) and not the short version. It would be helpful if a note could be added to the help guide on this issue.
When I create an order through chart trader, and then close the order, it closes immediately. How can I achieve this level of response programatically?
Thanks
Peter
Update: O.K. After many hours I've got this issue sorted, one must use this limit order method -
EnterLongLimit(int barsInProgressIndex, bool liveUntilCancelled, int quantity, double limitPrice, string signalName) and not the short version. It would be helpful if a note could be added to the help guide on this issue.