Order Execution Errors

Brief

The section contains the list of the error codes which may be generated during an order processing.

Details

Error Code

General Description

20001

Internal system error.

20008

The order cannot be created because:

  • The order parameters are not specified.

  • The instrument of the order is either missing or does not exist.

  • The instrument of the closing order is different from the instrument of the trade.

  • The specified order type is not supported by the trading system.

  • The trading system cannot recognize the order type by the order parameters.

  • The amount is incorrect. The amount has to be positive. The only exception is "if-then" order where the amount equals 0.

  • The order is a range order, and the price range of the order is either missing or incorrect.


The order cannot be changed because:

  • The order of the specified type is not changeable (only entry orders, stop, limit, and secondary ELS orders can be changed).

  • The amount is incorrect. The amount has to be positive. The only exception is "if-then" order where the amount equals 0.

  • The amount of net amount order is determined by the system and cannot be changed.

  • The stop or limit order closes position in full amount; therefore, the amount of such order cannot be changed.

20102

  • The trailing order cannot be created because the use of this order type is not allowed.

  • The order cannot be created because the use of this order type is not allowed for the trader.

20105

Makes sense for entry orders.
The order cannot be created or changed, because its price is closer to the current market price than the minimum allowed distance.

20112

Makes sense for market orders.

  • The order cannot be created because it is placed for the instrument which does not have tradable price.

  • The open or close range order cannot be created because the current market price is beyond the order range.

20113

Makes sense for market orders.
The order cannot be created because it is placed from the account which does not have sufficient margin to open a position.

20114

  • The closing market order cannot be created because it is placed to close the position which is already closing.

  • The net amount order cannot be created because the net amount order with the same trade operation already exists for the instrument.

  • The stop or limit order cannot be created because the order with the same type already exists.

  • The ELS contingent order cannot be created because the secondary orders have the same type.

20115

The market order cannot be created because:

  • The price of the attached stop and/or limit order is closer to the current market price than the minimum allowed distance.

  • The attached stop and/or limit order is a trailing order, and it has an incorrect value of the Trail Update Pips parameter.


The entry order cannot be created or changed because:

  • The price of the attached stop and/or limit order is closer to the entry order price than the minimum allowed distance.

  • The attached stop and/or limit order is a trailing order, and it has an incorrect value of the Trail Update Pips parameter.


The stop or limit order cannot be created or changed because:

  • The price of the order is closer to the current market price or entry order price than the minimum allowed distance.

  • The order is a trailing order, and it has an incorrect value of the Trail Update Pips parameter.


The ELS contingent order cannot be created or changed because:

  • The price of the secondary order is closer to the primary order price than the minimum allowed distance.

  • The secondary order is a trailing order, and it has an incorrect value of the Trail Update Pips parameter.

20120

Makes sense for orders with DAY time-in-force option
The conditional order cannot be changed because the order is expired.

20121

The conditional order cannot be changed because the order is activated.

20123

The order cannot be created because it is placed from a closed account.

20126

The order cannot be created because it is placed during close market hours.

20131

The order cannot be created because it is placed either from a locked account or an account which is under rollover.

20132

Makes sense for market orders.
The order to open position cannot be created because it is placed from an account which is under the margin call limitation.

20134

  • The order cannot be created or changed because the amount is greater than the allowed order amount for the trader.

  • The stop or limit order cannot be created or changed because the amount of the order is different than the amount of the entry order or the position to be closed.

  • The ELS contingent order cannot be created the amount of the secondary order is different than the amount of the primary order.

20136

The order cannot be changed or canceled because it is under the execution.

20143

  • The market or entry order cannot be created because its price is beyond the allowed distance from the current market price.

  • The entry order cannot be created. The market satisfies the order criteria and is ready for immediate execution, but the current market price goes beyond the maximum allowed distance. Makes sense if the immediate entry order execution is enabled.

20148

Makes sense if the equity service is enabled.
The order cannot be created because it is placed from the account which is under the equity alert limitation.

20149

Makes sense if the equity service is enabled.
The order cannot be created because it is placed from the account which is under the equity stop limitation.

20168

  • The closing market order cannot be created because the position does not exist.

  • The net amount market order with a specified net amount cannot be created. There are no positions to be closed with this order.

  • The stop or limit order cannot be created because the entry order or the position the stop/limit is being attached to does not exist.

20169

The conditional order cannot be changed because it does not exist.

20172

The order cannot be created or changed because its amount is less than the minimum allowed amount.

20173

The order cannot be created or changed because its amount is incorrect. The order amount must be divisible by a whole number of lots (Base Unit Size).

20177

  • The contingent order cannot be created because the contingent type is either not supported or incorrect.

  • The order cannot be added to the contingent order because the order with specified type cannot be embedded into the contingent order.

20178

The ELS contingent order cannot be created because the order is placed from the account where hedging is allowed.

20179

The stop or limit order cannot be created because the order has an incorrect reference to the position to be closed. The position does not exist.

20180

The order cannot be created or changed because time-in-force value is either incorrect or not supported.

20181

The stop or limit order cannot be created or changed because it is placed to close the position which is already closing.

20183

The order cannot be added to the contingent order because the contingent type of the order is different than type of the contingent order.

20184

The stop or limit order cannot be created because existing stop or limit order is activated.

20185

The secondary order of the ELS contingent order or stop/limit order cannot close a position because the position is already closed.

20186

  • The order cannot be changed or canceled because the order with specified id does not exist.

  • The stop or limit order cannot be created because it has no reference to the position.

20187

The stop or limit order cannot be created because the order has the same trade operation as the position.

20188

The order cannot be added to the OCO contingent order because reference to the OCO contingent order is either missing or incorrect. The OCO contingent order does not exist.

20189

The order cannot be added to the OTO contingent order because reference to the OTO contingent order is either missing or incorrect. The OTO contingent order does not exist. .

20190

The order cannot be added to the OTO contingent order because the primary order is under execution.

20191

The stop or limit order cannot be added to the entry order because the entry order is under execution.

20192

The stop or limit order cannot be created the order price is missing.

20193

  • The ELS contingent order cannot be created or changed. The primary order is a trailing order, and the secondary order price is not a peg price. In this case the secondary order must be the peg order.

  • The stop or limit order cannot be added to entry order or changed. The entry order is a trailing order, and the stop or limit order price is not a peg price. In this case the stop or limit order must be the peg order.

20194

  • The stop or limit order cannot be created or changed because the price of the order is specified as a peg price.

  • The entry order cannot be created or changed because the price of the order is specified as a peg price.

20195

The entry order cannot be created because it is specified as closing order.

20198

The stop or limit order, closing market or net amount order cannot be created because the trade operation of the order is the same as the trade operation of the position(s) to be closed.

20199

The order cannot be created because the request is of the order is already used with another order.

20222

Makes sense for FIFO based accounts.
The order cannot be created. The order type is closing order (not a net amount order). The use of these order types is not allowed by the NFA rules.

back