{"repo":"stoqey/ib","free":true,"listed":false,"github":"https://github.com/stoqey/ib","clone":"git clone https://github.com/stoqey/ib.git","description":"Interactive Brokers TWS/IB Gateway API client library for Node.js (TS)","language":"TypeScript","stars":329,"topics":["interactive-brokers","stocks-api","forex-api","options-trading","twsapi","market-data","price-ticker","ib-gateway","typescript","tws"],"license":"MIT","category":"trading","readme_excerpt":"Typescript API @stoqey/ib is an Interactive Brokers TWS (or IB Gateway) Typescript API client library for Node.js. It is a port of Interactive Brokers' Java Client Version 10.32.01 (\"latest\" relased on Oct 9, 2024). Refer to IBKRCampus for the official documentation and the C#/Java/VB/C++/Python client. The module makes a socket connection to TWS (or IB Gateway) using the net module and all messages are entirely processed in Typescript. It uses EventEmitter to pass the result back to user. Simpler Alternative If you're looking for a more straightforward implementation with ready-to-use examples, check out @stoqey/ibkr. This wrapper library provides: - 🚀 Simplified API interface - 📝 Full working examples for common operations - 🔄 Built-in connection management - 📊 Easy market data handling - 💼 Streamlined portfolio management - 🤖 Trading automation helpers The wrapper is built on top of this library but offers a more developer-friendly experience for common use cases. Installation $ npm install @stoqey/ib or $ yarn add @stoqey/ib Update from 1.1.x to 1.2.x If you currently use version 1.1.x and want to upgrade to 1.2.x please note that there is a breaking change that might affect your code: Versions up to 1.1.x did return Number.MAX VALUE on values that are not available. This was to be in-sync with the official TWS API Java interfaces. Since the usage of Number.MAX VALUE is very uncommon in JScript/TS and caused / causes lot of confusion, all versions starting from 1.2.","default_branch":null,"files":null,"tree":[],"storefront":"/r/stoqey","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stoqey/ib/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}