Rony wrote:
1. Can't it work with BUY-STOP / SELL-STOP / BUY-STOP-BYBID / SELL-STOP-BYBID ?
No, it can't, but your strategy can implement that. See example strategy:
Attachment:
MarketOrderExpire.java [2.66 KiB]
Downloaded 433 times
Rony wrote:
How do I specify BID/ASK in that case ?
You specify the open price condition with
price parameter. Whether it is BID or ASK, depends on the
OrderCommand.
Rony wrote:
2. Is there any delta limitation that might cause order rejection if the price specified is too 'far' or too 'close' to the current price besides the slippage (which will be set to 25 by default..)?
No, but your strategy can check that. If the price condition is already met when the order arrives on server, then it is subject to immediate execution i.e. fill.
Rony wrote:
3. If I hold the Order's label - can it be used later on to cancel the
order, due to some occasion, if haven't been executed already ?
Yes, see:
https://www.dukascopy.com/wiki/#Order_Managementhttps://www.dukascopy.com/wiki/#Close_Orders