Error codes
DXtrade API error codes
79 decoded error codes for DXtrade APIs. Each page gives the exact error text and what it means. 40 of them carry a fix or a next step, and each of those rows is marked Fix recorded. Where the source gives no remedy, the page says so.
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
Order rejection reasons
10 codes
In the rejection the API reports, not in the HTTP status.
OrdRejReason 0 BROKER_In the DXtrade FIX Trading API, BROKER_EXCHANGE_OPTION is value 0 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.EXCHANGE_ OPTION OrdRejReason 1 UNKNOWN_In the DXtrade FIX Trading API, UNKNOWN_SYMBOL is value 1 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.SYMBOL OrdRejReason 2 EXCHANGE_In the DXtrade FIX Trading API, EXCHANGE_CLOSED is value 2 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.CLOSED OrdRejReason 3 ORDER_In the DXtrade FIX Trading API, ORDER_EXCEEDS_LIMIT is value 3 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.EXCEEDS_ LIMIT OrdRejReason 6 DUPLICATE_Fix recorded In the DXtrade FIX Trading API, DUPLICATE_ORDER is value 6 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.ORDER OrdRejReason 11 UNSUPPORTED_In the DXtrade FIX Trading API, UNSUPPORTED_ORDER_CHARACTERISTIC is value 11 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.ORDER_ CHARACTERISTIC OrdRejReason 13 INCORRECT_In the DXtrade FIX Trading API, INCORRECT_QUANTITY is value 13 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.QUANTITY OrdRejReason 15 UNKNOWN_In the DXtrade FIX Trading API, UNKNOWN_ACCOUNT is value 15 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.ACCOUNT OrdRejReason 18 INVALID_In the DXtrade FIX Trading API, INVALID_PRICE_INCREMENT is value 18 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.PRICE_ INCREMENT OrdRejReason 99 OTHERIn the DXtrade FIX Trading API, OTHER is value 99 of the OrdRejReason (103) field, which the vendor says is present only on rejected orders.
FIX reject reasons
39 codes
In a reject message on the FIX session, not in an HTTP reply.
BusinessRejectReason 0 OtherFix recorded In the DXtrade FIX Trading API, Other is value 0 of the BusinessRejectReason (380) field of a BusinessMessageReject.BusinessRejectReason 1 Unknown IDIn the DXtrade FIX Trading API, Unknown ID is value 1 of the BusinessRejectReason (380) field of a BusinessMessageReject.BusinessRejectReason 2 Unknown SecurityIn the DXtrade FIX Trading API, Unknown Security is value 2 of the BusinessRejectReason (380) field of a BusinessMessageReject.BusinessRejectReason 3 Unsupported Message TypeIn the DXtrade FIX Trading API, Unsupported Message Type is value 3 of the BusinessRejectReason (380) field of a BusinessMessageReject.BusinessRejectReason 5 Conditionally Required Field MissingIn the DXtrade FIX Trading API, Conditionally Required Field Missing is value 5 of the BusinessRejectReason (380) field of a BusinessMessageReject.CONDITIONALLY_Fix recorded In the DXtrade FIX Trading API, CONDITIONALLY_REQUIRED_FIELD_MISSING is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.REQUIRED_ FIELD_ MISSING CxlRejReason 0 TOO_In the DXtrade FIX Trading API, TOO_LATE_TO_CANCEL is value 0 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.LATE_ TO_ CANCEL CxlRejReason 1 UNKNOWN_In the DXtrade FIX Trading API, UNKNOWN_ORDER is value 1 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.ORDER CxlRejReason 2 BROKER_In the DXtrade FIX Trading API, BROKER_EXCHANGE_OPTION is value 2 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.EXCHANGE_ OPTION CxlRejReason 3 ORDER_In the DXtrade FIX Trading API, ORDER_ALREADY_IN_PENDING_CANCEL_OR_PENDING_REPLACE_STATUS is value 3 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.ALREADY_ IN_ PENDING_ CANCEL_ OR_ PENDING_ REPLACE_ STATUS CxlRejReason 5 ORIGORDMODTIME_In the DXtrade FIX Trading API, ORIGORDMODTIME_DID_NOT_MATCH_LAST_TRANSACTTIME_OF_ORDER is value 5 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.DID_ NOT_ MATCH_ LAST_ TRANSACTTIME_ OF_ ORDER CxlRejReason 6 DUPLICATE_Fix recorded In the DXtrade FIX Trading API, DUPLICATE_CLORDID_RECEIVED is value 6 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.CLORDID_ RECEIVED CxlRejReason 18 INVALID_In the DXtrade FIX Trading API, INVALID_PRICE_INCREMENT is value 18 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.PRICE_ INCREMENT CxlRejReason 99 OTHERIn the DXtrade FIX Trading API, OTHER is value 99 of the CxlRejReason (102) field, the reason given when a cancel or replace request is rejected.INTERNAL_Fix recorded In the DXtrade FIX Trading API, INTERNAL_ERROR is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.ERROR MARKET_In the DXtrade FIX Trading API, MARKET_CONDITIONS_CHANGED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.CONDITIONS_ CHANGED NO_In the DXtrade FIX Trading API, NO_LIQUIDITY is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.LIQUIDITY ORDER_In the DXtrade FIX Trading API, ORDER_CANNOT_BE_ACTIVATED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.CANNOT_ BE_ ACTIVATED ORDER_Fix recorded In the DXtrade FIX Trading API, ORDER_NOT_EXECUTED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.NOT_ EXECUTED ORDER_In the DXtrade FIX Trading API, ORDER_QUOTE_NOT_AVAILABLE is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.QUOTE_ NOT_ AVAILABLE ORDER_In the DXtrade FIX Trading API, ORDER_TOO_LATE_TO_CANCEL is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.TOO_ LATE_ TO_ CANCEL ORDER_In the DXtrade FIX Trading API, ORDER_TOO_LATE_TO_REPLACE_CANCEL is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.TOO_ LATE_ TO_ REPLACE_ CANCEL ORDER_In the DXtrade FIX Trading API, ORDER_UNEXPECTED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.UNEXPECTED OTHERIn the DXtrade FIX Trading API, OTHER is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.PBASED_In the DXtrade FIX Trading API, PBASED_MARKET_ORDER_REPLACE_NOT_ALLOWED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.MARKET_ ORDER_ REPLACE_ NOT_ ALLOWED PBASED_In the DXtrade FIX Trading API, PBASED_NO_POSITION_FOR_CLOSE is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.NO_ POSITION_ FOR_ CLOSE PBASED_In the DXtrade FIX Trading API, PBASED_ORDER_NOT_ENOUGH_WORKING_QUANTITY is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.ORDER_ NOT_ ENOUGH_ WORKING_ QUANTITY PBASED_Fix recorded In the DXtrade FIX Trading API, PBASED_ORDER_WRONG_CLOSING_DIRECTION is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.ORDER_ WRONG_ CLOSING_ DIRECTION PBASED_In the DXtrade FIX Trading API, PBASED_REPLACE_POSITION_QUANTITY_NOT_ALLOWED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.REPLACE_ POSITION_ QUANTITY_ NOT_ ALLOWED VALIDATION_In the DXtrade FIX Trading API, VALIDATION_FAILED_ACCOUNT_EXPIRED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ ACCOUNT_ EXPIRED VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_ACCOUNT_TERMINATED is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ ACCOUNT_ TERMINATED VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_INSTRUMENT_OUT_OF_TRADING_HOURS is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ INSTRUMENT_ OUT_ OF_ TRADING_ HOURS VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_LIQUIDATION_IS_IN_PROGRESS is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ LIQUIDATION_ IS_ IN_ PROGRESS VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_MAX_ORDER_SIZE is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ MAX_ ORDER_ SIZE VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_MIN_ORDER_SIZE is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ MIN_ ORDER_ SIZE VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_MIN_ORDER_SIZE_INCREMENT is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ MIN_ ORDER_ SIZE_ INCREMENT VALIDATION_Fix recorded In the DXtrade FIX Trading API, VALIDATION_FAILED_NON_POSITIVE_PROSPECTIVE_BP is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ NON_ POSITIVE_ PROSPECTIVE_ BP VALIDATION_In the DXtrade FIX Trading API, VALIDATION_FAILED_OUT_OF_MARKET_HOURS is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ OUT_ OF_ MARKET_ HOURS VALIDATION_In the DXtrade FIX Trading API, VALIDATION_FAILED_POSITION_LIMIT is an error code carried at the start of the Text (58) field of a business reject, in the form Error_Code:Descriptive_Text.FAILED_ POSITION_ LIMIT
Streaming messages
2 codes
On the streaming connection, not in an HTTP reply.
Close codes
1 code
When a WebSocket connection closes.
HTTP 400
6 codes
11 Malformed HMAC signatureFix recorded DXtrade errorCode 11, description "Malformed HMAC signature" (the vendor's wording).31 Malformed query URIFix recorded DXtrade errorCode 31, description "Malformed query URI" (the vendor's wording).32 Incorrect request parametersFix recorded DXtrade errorCode 32, description "Incorrect request parameters" (the vendor's wording).33 Incorrect requestFix recorded DXtrade errorCode 33, description "Incorrect request" (the vendor's wording).101 Client-Fix recorded DXtrade errorCode 101, description "Client-originated identifier is not valid" (the vendor's wording).originated identifier is not valid 400 Bad RequestFix recorded DXtrade REST API: The client sent a malformed request, such as one missing the Host header, or a semantically incorrect request.
HTTP 401
5 codes
1 Authorization requiredFix recorded DXtrade errorCode 1, description "Authorization required" (the vendor's wording).3 Incorrect username or passwordFix recorded DXtrade errorCode 3, description "Incorrect username or password" (the vendor's wording).12 HMAC signature too oldFix recorded DXtrade errorCode 12, description "HMAC signature too old" (the vendor's wording).13 HMAC signature mismatchFix recorded DXtrade errorCode 13, description "HMAC signature mismatch" (the vendor's wording).401 UnauthorizedFix recorded DXtrade REST API: The client is not authorised in the system.
HTTP 403
2 codes
HTTP 404
3 codes
2 Entity not found at serverFix recorded DXtrade errorCode 2, description "Entity not found at server" (the vendor's wording).35 Data not ready yetDXtrade errorCode 35, description "Data not ready yet" (the vendor's wording).404 Not FoundFix recorded DXtrade REST API: Either the resource does not exist or the client is not permitted to access it.
HTTP 405
1 code
HTTP 406
1 code
HTTP 409
3 codes
100 Order with this id already existsFix recorded DXtrade errorCode 100, description "Order with this id already exists" (the vendor's wording).409 ConflictFix recorded DXtrade REST API: The API understood the request, but it has semantic issues and could not be validated.1005 Reference order is closedFix recorded DXtrade errorCode 1005, description "Reference order is closed" (the vendor's wording).
HTTP 429
1 code
HTTP 500
2 codes
How to cite this
DXtrade API error codes. Broker API Hub, https://openbrokerapi.com/errors/dxtrade, newest check .
Where you rely on a single figure, cite the source and the checked date printed beside it as well.