Interactive Brokers adds overnight trading condition support to TWS API
Interactive Brokers added a conditionsIncludeOvernight field to its TWS API Order object, enabling conditional orders to account for overnight sessions, and improved .proto file documentation.

Interactive Brokers has expanded the capabilities of its TWS API, adding support for overnight trading sessions when orders are evaluated against conditional criteria. The brokerage introduced a new conditionsIncludeOvernight field on the Order object, allowing orders with conditions to factor in overnight sessions during the evaluation process.
The company also updated its protocol buffer (.proto) files by adding descriptions for all fields. Interactive Brokers said the change should make the files easier to understand and simplify development and integration work for users building on the API. The TWS API supports application development in C++, C#, Java, Python, ActiveX, RTD and DDE, and includes prebuilt libraries for automating features in the TWS interface or creating custom interfaces.
The latest update follows other recent changes to the API. Interactive Brokers recently released the TWS API as open source under the GNU General Public License, a step the company said provides developers with greater transparency, flexibility and opportunities to contribute to the API’s ongoing development. A new Settlement Type field has also been added to Contract Details, allowing users to view settlement information directly within contract data for improved transparency and analysis.
Interactive Brokers noted that the API can also be used with its client gateway to access higher trading volume while using less bandwidth. The overnight-condition support and documentation improvements are aimed at developers who rely on automated and conditional order workflows across the broker’s platform.
The changes reflect continued investment in developer tooling around the TWS API, with the brokerage adding features intended to make conditional order handling more complete and integration work more straightforward.
Источник: FX News Group
