Hello,
I want to be able to cancel pending orders not filled within the bar the order was placed and have this functionality included in my signals. I was not able to find key words for pending orders management in the wiki - The conversion of unfilled orders to market orders is just the thing I definitely want want to avoid.
Anyone having a clue about how to achieve this?
Thanks in advance
W.
Coding Problem - Cancel unfilled orders at next bar open
-
- Posts: 75
- Joined: 19 Oct 2007
- Has thanked: 46 times
- Been thanked: 5 times
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Coding Problem - Cancel unfilled orders at next bar open
Hello Walter,
There are no reserved words to cancel an order. The order is valid at the broker while conditions for order generation are met in the code. There was a similar discussion in this topic, please look through it.
There are no reserved words to cancel an order. The order is valid at the broker while conditions for order generation are met in the code. There was a similar discussion in this topic, please look through it.