{"repo":"NadirAliOfficial/ibkr-risk-bot","free":true,"listed":false,"github":"https://github.com/NadirAliOfficial/ibkr-risk-bot","clone":"git clone https://github.com/NadirAliOfficial/ibkr-risk-bot.git","description":"Python bot that automatically manages TP, SL, and Trailing Stop orders for manually opened IBKR positions via IB Gateway","language":"Python","stars":11,"topics":["automation","ibkr","interactive-brokers","python","risk-management","stocks","stop-loss","take-profit","trading-bot","trailing-stop"],"license":"MIT","category":"trading","readme_excerpt":"IBKR Automated Trading Suite — Interactive Brokers API (Python) A suite of trading bots built with Python and ib insync — risk management, scheduled entry, system watchdog, and real-time position monitoring. Connects to IB Gateway or TWS. --- Bots Included Bot File Purpose --- --- --- Risk Bot bot.py Auto-places TP / SL / Trailing Stop on every open position Entry Bot entry bot.py Schedules and executes BUY market orders at a set time Watchdog Bot watchdog bot.py Monitors and auto-restarts all bots and IBC Price Monitor price monitor.py Real-time intraday chart of open positions in the browser --- Features Risk Bot - Instant TP / SL placement — as soon as a new position is detected, a Take Profit (Limit) and Stop Loss are placed as an OCA group - Automatic trailing stop — when price hits a configurable gain threshold, TP and SL are cancelled and a Trailing Stop is placed automatically - Smart recovery on restart — on reconnect, the bot matches existing open orders to positions and resumes from the correct state without placing duplicate orders Entry Bot - Schedules BUY market orders at a specified time (e.g. 09:31 NY) - Cash-based position sizing with configurable allocation caps - Hands off automatically to the Risk Bot after execution Watchdog Bot - Monitors IBC, Risk Bot, and Entry Bot via TCP port checks and process detection - Auto-restarts any service that goes down - Per-service show window control — CMD windows visible or hidden - Entry Bot configured as monitor: fals","default_branch":null,"files":null,"tree":[],"storefront":"/r/NadirAliOfficial","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NadirAliOfficial/ibkr-risk-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."}