astro wrote:
-Is there a limit as to how small (>0) this interval can be?
No there is no such limit, note that if you set the
goodTillTime parameter to 0, then you will remove the "Good till"condition.
astro wrote:
-In this case the method submitOrder(label, instrument, orderCommand, amount, price, slippage, stopLossPrice, takeProfitPrice, goodTillTime) has to be used at least. What, in this context, is the meaning of the slippage parameter? — I assume it has to be set to Double.NaN?
Slippage is
int (it is measured in pips) and it does not get applied for bids and offers. Thus, you can use any arbitrary value >=0.
astro wrote:
Or do you have another suggestion, as to how to implement an ioc-style order (i.e. if the order cannot be executed at preferred price immediately, it is canceled immediately), I cannot see how this can be done directly with the implemented submitOrder(..) methods and order command types.
See the example:
https://www.dukascopy.com/wiki/index.php?title=Place_Bid