¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: API error - Your API version does not support fractional size rules (during forex price extraction)


 

You might still want to put in the elbow grease and start moving from V9 API to V10 soon, but on your own terms and time frame, Mark. You will be able to keep your FX data flowing in the interim with the TWS setting, but eventually there will be a feature that you want or need. Or, IBKR will eventually require an update. As I said before, V10 is around for a couple years now already.

With the introduction of the new Decimal type, transition to API V10 versions is not trivial but then it is not horrible either. We prepared our environment over the last year or so and will finally transition from 985.02 to 10.19 one of the next few weekends. Once you are on V10, upgrading within the V10 track will be easier again (I guess until we hit V11 or so).

When we make the jump, we'll gain access to these features in addition to the fractional size support:

Feature Min API Version
AUTO_CANCEL_PARENT 162
FRACTIONAL_SIZE_SUPPORT 163
SIZE_RULES 164
HISTORICAL_SCHEDULE 165
ADVANCED_ORDER_REJECT 166
USER_INFO 167
CRYPTO_AGGREGATED_TRADES 168
MANUAL_ORDER_TIME 169
PEGBEST_PEGMID_OFFSETS 170
WSH_EVENT_DATA_FILTERS 171
IPO_PRICES 172
WSH_EVENT_DATA_FILTERS_DATE 173
INSTRUMENT_TIMEZONE 174
HMDS_MARKET_DATA_IN_SHARES 175
BOND_ISSUERID 176

´³¨¹°ù²µ±ð²Ô


On Mon, Mar 20, 2023 at 12:57 PM, mark collins wrote:
Thanks for the responses everyone, if anyone else hits this:
?
There is a setting preset in the newer versions of TWS, which should allow you to overcome error 163:
TWS > File (top-left corner) > Global Configuration > API > Settings > check the box: "Send Forex market data in compatibility mode in integer units" (it's quite far down)
?
?

Join [email protected] to automatically receive all group messages.