On the specification window, the filling type of a pair is designated as "all" with my broker.
But, on the "new order" window, there are only two options: FOK and IOC.
Can I use "return" in this case?
Additionally, if available, with which function I can see the used filling type for an opened position ... I could not find such a function?
You can't get this information for a position, only for orders.
OrderGetInteger(ORDER_TYPE_FILLING);
Why not simply try ?
Even if the specification says "all", the terminal does not allow to use "return".
By the way, with FOK, even if there is not enough depth, the terminal is always filling my order completely at the current price.
For example ... let's say I want to buy 40 lot USDCHF at the current ask price with FOK.
I look at the depth ... and see that there is just 10 lot at the current ask ... and even 10 lot at the second price step.
But, my order is filled completely with FOK ... at the current ask price without any change in the depth of market.
The terminal is not killing my order, always filling it.
Same is true with IOC, my order is never partially cancelled, always filled completely.
Maybe my terminal is not respecting my filling type choice for it is a demo account.
Can be?
Even if the specification says "all", the terminal does not allow to use "return".
By the way, with FOK, even if there is not enough depth, the terminal is always filling my order completely at the current price.
For example ... let's say I want to buy 40 lot USDCHF at the current ask price with FOK.
I look at the depth ... and see that there is just 10 lot at the current ask ... and even 10 lot at the second price step.
But, my order is filled completely with FOK ... at the current ask price without any change in the depth of market.
The terminal is not killing my order, always filling it.
Same is true with IOC, my order is never partially cancelled, always filled completely.
Maybe my terminal is not respecting my filling type choice for it is a demo account.
Can be?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
On the specification window, the filling type of a pair is designated as "all" with my broker.
But, on the "new order" window, there are only two options: FOK and IOC.
Can I use "return" in this case?
Additionally, if available, with which function I can see the used filling type for an opened position ... I could not find such a function?