improved
API Update - June 2025
2 months ago
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 Code | Old Error Code | Description | Scenario |
---|---|---|---|
TRD10000 | TRD00011 | Invalid quote id | This occurs when a client tries to book with a quote Id that's not a valid quote Id for their account |
TRD10001 | TRD00012 | Quote id expired | This occurs when Quote Id has expired, and you are trying to book trade with it. |
TRD19999 | TRD00021 | Unable to book trade | If there is something wrong in our trade engine, and we are unable to book the trade, this error is returned |
TRD10010 | TRD00023 | Same currency trade not allowed | This occurs when your account is not set up for same currency payments |
TRD09999 | TRD00008 | Unable to price | If there is something wrong in our pricing engine, and we are unable to price the quote request, this error is returned |
TRD00011 | N/A | Configuration Missing | This 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. |
TRD00012 | N/A | Trade amount is above trading limit | This 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 |
TRD00015 | N/A | The 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 |
TRD10005 | N/A | Price should be within [5%] of base rate | An unlikely scenario where price has moved by more than [5%] between quote and trade booking |
TRD10009 | N/A | Trade 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. |