STELAXIS
[Sandbox Environment]
docs
error codes

error codes we send in the FIX Text field when we reject a message

codeexample text
certificate_authentication_failed Authentication failed. Details: {"error":"certificate_not_found","reason":"Certificate not found for serial: ABC123"}
cfd_mark_unavailable A required CFD mark is unavailable. Try again shortly. Details: {"symbols":["BTC/USD.CFD"]}
decode_failed Unhandled exception during FIX decoding. Details: {"message":"unexpected tag 999"}
group_count_mismatch Repeating group count does not match the actual number of entries. Details: {"tag":453}
incremental_refresh_unsupported Incremental refresh (MDUpdateType 265=1) is not supported. Stelaxis sends market data as full snapshots (35=W): request 265=0 or omit the tag.
insufficient_balance Your balance is lower than required for this trade. Details: {"asset_type":"USD","formatted_balance":"$100.00","formatted_requested":"$500.00","raw_balance":"100","raw_requested":"500"}
insufficient_margin Free margin is insufficient to support this order under your current positions and leverage.
internal_error An internal error occurred. Please contact support.
invalid_cl_ord_id ClOrdID (tag 11) must be at most 50 bytes.
invalid_client_certificate Client certificate could not be parsed. Ensure certificate is valid X.509.
invalid_field_value FIX field value does not match the protocol specification. Details: {"tag":54,"type":"enum","field":"Side","valid_values":{"1":"BUY","2":"SELL"},"wire_value":"3"}
invalid_market_depth MarketDepth (tag 264) must be 0 (full book) or a number of price levels per side from 1 (top of book) to 100.
invalid_ord_type OrdType field has unrecognised value. Details: {"value":"Z","available":["market","limit"]}
invalid_order_value Invalid order value.
invalid_price_tick Order price is not aligned to the symbol's tick size. Details: {"tick_size":"0.01","price":"1.123"}
invalid_quantity Order quantity must be greater than zero. Details: {"quantity":"0"}
invalid_quantity_step Order quantity is not aligned to the symbol's step size. Details: {"step_size":"0.1","quantity":"1.123"}
invalid_side Side field has unrecognised value. Details: {"value":"X","available":["buy","sell"]}
invalid_subscription_type FIX market data subscription type is not supported. Subscribe with snapshot plus updates (SubscriptionRequestType 263=1). Details: {"type":"snapshot","available":["snapshot_and_updates"]}
invalid_time_in_force TimeInForce field has unrecognised value. Details: {"value":"9","available":["good_till_cancel","immediate_or_cancel"]}
missing_client_certificate No client certificate presented. mTLS client certificate is required for FIX logon.
missing_leverage No leverage is configured for this contract; the order cannot be margin-checked. Details: {"symbol":"BTC/USD.CFD"}
missing_related_sym Market data request has empty NoRelatedSym group.
missing_required_field Required FIX field is missing from the message. Details: {"field_name":"ClOrdID"}
missing_symbol Order has no Symbol (tag 55) field.
no_market_data No market data available for this symbol. Try again shortly. Details: {"symbol":"BTC/USD"}
not_market_data_session You tried to request market data on a trading session. Use market-data session instead.
not_trading_session You tried to place an order on a market-data-only session. Use trading session instead.
quote_account_missing You do not hold a trading account in this contract's quote asset; CFD profit and loss has nowhere to settle. Details: {"quote_asset":"USD"}
resend_invalid_range ResendRequest range is invalid. BeginSeqNo must be > 0 and <= EndSeqNo.
resend_not_allowed ResendRequest is only allowed during the post-logon recovery window, before any new orders are placed.
resend_not_trading_session ResendRequest is not supported on market data sessions.
sender_comp_id_mismatch FIX SenderCompID does not match authenticated entity. Details: {"sender_comp_id":"CLIENT1","entity_id":"entity_abc"}
server_busy Server is busy. Try again.
session_closing Session is closing. No new orders accepted.
session_initialization_failed Trading session startup failed during FIX logon.
symbol_not_available Our platform doesn't support this symbol. Details: {"symbol":"INVALID/USD"}
unknown_asset Our platform doesn't support this asset. Details: {"asset":"DOGE"}
unknown_currency One of the trade asset types are not available in this trading session. Check your linked accounts TODO: here. Details: {"currency":"XRP","available_currencies":["USD","EUR"]}
unknown_msg_type FIX message type is not supported.
unknown_session_type TargetCompID does not map to a known session type. Details: {"available":["TRADING","MARKET_DATA"],"session_type":"UNKNOWN"}
unknown_symbol Our platform doesn't support this symbol. Details: {"symbol":"INVALID/USD"}
unsupported_pos_req_type PosReqType (tag 724) must be 0 (Positions). Other request types are not supported.
: