{"repo":"NadirAliOfficial/ibkr-price-fetcher","free":true,"listed":false,"github":"https://github.com/NadirAliOfficial/ibkr-price-fetcher","clone":"git clone https://github.com/NadirAliOfficial/ibkr-price-fetcher.git","description":"Real-time price fetcher for Interactive Brokers (IBKR) using ib_insync — streams live market data for multiple symbols","language":"Python","stars":12,"topics":["automation","ib-insync","ibkr","interactive-brokers","market-data","python","real-time","stocks"],"license":"MIT","category":"trading","readme_excerpt":"IBKR Price Fetcher (Live · Delayed · Historical) A user-friendly Python tool to fetch stock prices from Interactive Brokers with automatic fallback logic. The script automatically chooses the best available data source: 1. Live market data (if subscription + market open) 2. Delayed market data (if live not available) 3. Historical data (weekends, holidays, or no subscription) No code changes are required to add or remove tickers. --- Features Live, delayed, and historical price support Weekend and holiday safe No nan values Clean output (IBKR warnings hidden) Easy ticker management via text file Works with TWS or IB Gateway Suitable for bots, dashboards, and cron jobs --- Project Structure --- Requirements Python 3.9+ Interactive Brokers account IB Trader Workstation (TWS) or IB Gateway API access enabled in IBKR --- Installation 1. Create virtual environment (recommended) 2. Install dependencies --- IBKR Setup In TWS or IB Gateway : 1. Open Global Configuration 2. Go to API → Settings 3. Enable: Enable ActiveX and Socket Clients 4. Disable: Read-Only API 5. Restart TWS / Gateway Default ports: TWS (Paper): 7497 Gateway (Paper): 4002 --- Adding or Removing Tickers Edit tickers.txt : Rules: One symbol per line Blank lines allowed Lines starting with # are ignored No code edits needed. --- Running the Script --- Sample Output --- Data Sources Explained LIVE Requires market data subscription Market must be open Real-time prices DELAYED Available if live subscription is missing U","default_branch":null,"files":null,"tree":[],"storefront":"/r/NadirAliOfficial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NadirAliOfficial/ibkr-price-fetcher/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."}