Delphi / RAD Studio TIABSocket component & API
API v10.22 (April 2022).
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.
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.
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.
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 versions and now Delphi 11, 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 ShareIt registration service - credit card, PayPal, EFT, etc.
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:
- View the Help File.
- View header section of IABSocketAPI unit.
- View source code to the demo app (IABSocket.exe).
- Download compiled demo app - Windows. This is a simple app like the C++ demo, not suitable for trading a real account, but good to "See" how the API is working and finding API programming traps.