{"repo":"NadirAliOfficial/ibkr-gsheet-bot","free":true,"listed":false,"github":"https://github.com/NadirAliOfficial/ibkr-gsheet-bot","clone":"git clone https://github.com/NadirAliOfficial/ibkr-gsheet-bot.git","description":"IBKR Bot Fetching data from Google Sheets","language":"Python","stars":11,"topics":["automation","google-sheets","ibkr","interactive-brokers","python","spreadsheet","stocks","trading-bot"],"license":"MIT","category":"trading","readme_excerpt":"IBKR Google Sheets Bot Reads trade parameters from a Google Sheet and automatically places Trailing Stop + OCA Stop-Limit bracket orders on Interactive Brokers. Supports multiple IBKR profiles, Telegram alerts, email notifications, and continuous sync. How It Works 1. You fill in trade parameters in a Google Sheet (symbol, qty, trigger price, trailing %, stop %) 2. The bot reads the sheet every sync interval seconds (default 5 min) 3. For each row matching your --profile , it places two OCA-linked orders on IBKR: - Trailing Stop Limit — follows price up, triggers on reversal - Stop Limit — hard floor protection 4. Fill status is written back to the sheet and alerts sent via Telegram/Email Google Sheet Structure Trade Planner (input) symbol qty trigger price trailing % stop % tif profile -------- ----- --------------- ----------- -------- ----- --------- AAPL 100 185.00 2.5 5.0 GTC Nadir - qty : positive = sell (long exit), negative = buy (short cover) - tif : GTC , DAY , GTD - profile : must match the --profile argument when running Live Positions (auto-filled) Timestamp, profile, symbol, qty, status, order ID — updated on every order event. Active Orders (auto-filled) Timestamp, profile, symbol, qty, order type, OCA group ID. Setup 1. IBKR TWS / IB Gateway Enable the API in TWS: - Edit → Global Configuration → API → Settings - ✅ Enable ActiveX and Socket Clients - Port: 7497 (paper) or 7496 (live) 2. Google Sheets API 1. Go to Google Cloud Console 2. Create a project → enabl","default_branch":null,"files":null,"tree":[],"storefront":"/r/NadirAliOfficial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NadirAliOfficial/ibkr-gsheet-bot/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."}