Delphi / RAD Studio TIABSocket component & API

Ross Hemingway  iabsocketemail (1K)
HHS Software

API v10.32 (October 2024).

This component set is built to work with the Interactive Brokers TradeWorkStation API, and the IBGateway API. It also works on re-branded sites like Memex and ProRealtime.

This API allows Delphi / RAD Studio / BCB and FPC/Lazarus, to build apps that send orders directly to the TWS/Gateway. This TIABSocket component links directly to the socket to communicate with the TWS. There are no dll, ActiveX, .Net or DDE files required, and all socket messages & data processes instantly. This direct connection to the socket makes for a fast reliable interaction and response time. The component set also controls all interactions with the TWS, and includes sub components to manage order activity, portfolio and account details. The code looks and feels like any other Delphi component, and the syntax is similiar to existing standard component code. The complete source is included, along with a demo app and help file.

You get all source codes, help files, and a component set that handles all the TWS activity and oddities. And does it faster and better than any other connection method avialable.

Will work in a console app too - No VCL or other visual components required.

API 10.x added bitcoin trading, which is fully supported in our API. A BigDecimals code library is added to allow for the tiny decimal shares used in digital coins.

A stored history manager component is now included. This allows to save, reload, merge, search, edit, and build up a local copy of history. Currently works with all GetHistorical... data, and tick history will be added next.

Tested, used and suitable for all Delphi versions since Delphi 6 onwards, through all XE versions, all 10.x, all 11.x versions and now Delphi 12, C++Builder (BCB), RAD Studio, FPC / Lazarus programming environments. It compiles to both 32 or 64 bit code, and is fully Unicode ready. However, the BigDecimals code library used with bitcoins requires XE2 or later, so if you choose to include bitcoin trading, then XE2 is the minimum compiler. (BCB - you will be compiling a pas unit into the VCL and linking that code into your app).
Note: The TWS and the API is all version controlled - you can connect any recent API version to any recent TWS - they all know how to talk to each other.

Purchase online ($79 USD) through PayPal registration service:


Receive the IABSocketAPI.zip file instantly. Purchase includes 6 months of updates & amendments to the component set as Interactive Brokers makes improvements in future API version releases.


API and component set: Home

iabapidemo (25K) ObjectInsp props ObjectInsp props

ObjectInsp event
Crypto trade
Crypto trade