Execution Rules
| MT4 order types | Category | XCore order types | Default execution settings |
|---|---|---|---|
| Open or close buy/sell orders using instant execution | IE | market, limit | IE:limit,fok,300|dev=0,lock=0 |
| Open or close buy/sell market orders | MKT | market, limit | MKT:market,ioc,300|dev=-1,lock=0 |
| Buy/sell limit entries and take-profit exits | LIMIT | market, limit | LIMIT:limit,ioc,300|dev=0,lock=0 |
| Buy/sell stop entries | STOP_ENTRY | market, stop | STOP_ENTRY:market,ioc,300|dev=-1,lock=0 |
| Stop-loss exits | STOP_EXIT | market, stop | STOP_EXIT:market,ioc,300|dev=-1,lock=0 |
| Position closures caused by margin stop-out | STOPOUT | market, limit | STOPOUT:market,ioc,300|dev=-1,lock=0 |
| Parameter | Description |
|---|---|
| TIF | Time in force. IOC (Immediate or Cancel) allows partial fills. FOK (Fill or Kill) does not allow partial fills. |
| TTL | Order time to live, in milliseconds. |
| DEV | -1 or value ≥ 0 dev = -1 — accepts orders with any slippage. dev = 0 — accepts only orders with no slippage. dev > 0 — accepts execution prices only within the range [price - dev; price + dev], with the deviation expressed in points. For more details, refer to the NewOrderSingle message in the Taker_FIX44_Specification. |
| LOCK | Accepted values: -1 or a value greater than or equal to 0. |