Interactive Brokers updates TWS API
Electronic trading major Interactive Brokers has released Trader Workstation (TWS) API 10.47.
In this API release, Interactive Brokers has updated the IB ALGO samples.
Also, there is a new option in the API Settings panel: “Prepend ‘$LEDGER-‘ prefix to per-currency account values”.
When subscribing to account data updates via the API, some key names (e.g., “AccruedCash”) appear at both the account level and the per-currency level. Previously, API clients had no reliable way to distinguish between these two data types based on the key name alone. Enabling this new setting will prepend “$LEDGER-” to all per-currency value keys (e.g., “$LEDGER-CashBalance”), allowing client applications to unambiguously identify the source and scope of each value.
This setting is disabled by default for upgrading users to maintain backward compatibility with existing API client implementations. It is enabled by default for new users.
- Affected API functions: reqAccountUpdates, reqAccountUpdatesMulti
- Affected callbacks: updateAccountValue
De-supported Fundamentals Data Request:
- Removed methods: reqFundamentalData, reqFundamentalsDataProtoBuf, cancelFundamentalData, cancelFundamentalsDataProtoBuf
- Removed callbacks: fundamentalData, fundamentalsDataProtoBuf
- Removed tick type: FUNDAMENTAL_RATIOS = 47.
