improved

API Update - June 2025

As part of our continuous improvements, we have changed some of the error codes & added new error codes we return on the Get Quote and Book Trade APIs. These codes allow developers to handle exception scenarios better.

See below table for details on the changes. You can find the full list of error codes here

New Error CodeOld Error CodeDescriptionScenario
TRD10000TRD00011Invalid quote idThis occurs when a client tries to book with a quote Id that's not a valid quote Id for their account
TRD10001TRD00012Quote id expiredThis occurs when Quote Id has expired, and you are trying to book trade with it.
TRD19999TRD00021Unable to book tradeIf there is something wrong in our trade engine, and we are unable to book the trade, this error is returned
TRD10010TRD00023Same currency trade not allowedThis occurs when your account is not set up for same currency payments
TRD09999TRD00008Unable to priceIf there is something wrong in our pricing engine, and we are unable to price the quote request, this error is returned
TRD00011N/AConfiguration MissingThis will only happen when the quote cannot be priced as we have not set up your pricing configuration in our system. Please contact our customer support to set up pricing if this happens.
TRD00012N/ATrade amount is above trading limitThis happens when the amount requested is above your trading limit with StoneX. Please contact our customer support if you'd like to increase your limit
TRD00015N/AThe minimum trade amount for [Ccy] is [Amount]This occurs if you request a quote for an amount which is less than the minimum supported for that buy or sell currency
TRD10005N/APrice should be within [5%] of base rateAn unlikely scenario where price has moved by more than [5%] between quote and trade booking
TRD10009N/ATrade already booked with Quote [Quote ID]Previously this scenario used to return Invalid Quote ID (TRD10000). Now we have a new error code for this scenario.