{"repo":"stoqey/ibkr","free":true,"listed":false,"github":"https://github.com/stoqey/ibkr","clone":"git clone https://github.com/stoqey/ibkr.git","description":"A simple @stoqey/ib wrapper 🚩","language":"TypeScript","stars":104,"topics":["ibkr-api","interactive-brokers","stocks-api","market-data","forex-api","options-api","trading-api","twsapi","ibkr","price-updates"],"license":"MIT","category":"trading","readme_excerpt":"IBKR: Interactive Brokers Overview A modern, TypeScript-based Node.js client for Interactive Brokers (IBKR) that provides a simplified interface to the IBKR API. This package is a wrapper around @stoqey/ib, which implements the official IBKR API. It offers a more developer-friendly way to interact with Interactive Brokers' trading platform, abstracting away the complexity of the underlying API. Key Features Feature :---: -------------------------------------------------------- ✅ Accounts and account update events ✅ Portfolios, positions, and position update events ✅ Orders, open-order updates, and completed trade events ✅ Historical bars and historical ticks ✅ Realtime bars and tick-by-tick price updates ✅ Contract lookup and search for stocks/forex/options/etc. ✅ Market-data-only mode for scanners and feeders ✅ Contract allowlists for orders, positions, and data ⬜️ Mosaic Market scanner ⬜️ News 1. Install 2. Usage Create a .env in the root dir of your project, set IBKR HOST and IBKR PORT , IBKR CLIENT ID (Optional, it'll use 0 by default), and DEBUG for logs, like this Optional connection settings: Initialize You can also pass @stoqey/ib IBApiNext creation options directly: Events IBKREvents.Instance is the shared event bus. Managers keep their cached state up to date, and these events let your app react when that state changes: Event Payload When it emits --- --- --- IBKR CONNECTED none Socket reconnects or finishes connecting IBKR ACCOUNT UPDATED { updatedAt } Account summ","default_branch":null,"files":null,"tree":[],"storefront":"/r/stoqey","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stoqey/ibkr/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."}