git404hub

what is ibkr-trading-bot fr?

ibkr-bouncybot/ibkr-trading-bot — explained in plain English

Analysis updated 2026-05-18

24PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

tl;dr

A Windows desktop app that automates a single long-side stock trade at a time through Interactive Brokers. It watches a stock, buys on a rebound after a price drop, and sells only when a minimum profit is reached.

vibe map

mindmap
  root((repo))
    What it does
      Automates one trade cycle
      Buys then sells long
      Connects via IB Gateway or TWS
    Strategy
      Waits for price drop
      Enters on rebound
      Exits at minimum profit
    Tech stack
      Python
      PySide6
      SQLite
    Interface
      Desktop GUI with tabs
      Connection profiles
      Flowchart and history views
    Safety
      Single instance lock
      Resume checkpoints
      Live order warnings
    License
      Noncommercial only
      Commercial needs permission

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Automate a single long-side stock trade on Interactive Brokers with configurable entry and exit rules.

VIBE 2

Run repeated trading cycles that reinvest positive profits automatically.

VIBE 3

Monitor and audit past trading cycles with built-in history and reconciliation views.

VIBE 4

Safely resume a trade cycle after a controlled shutdown using checkpoint recovery.

what's the stack?

PythonPySide6SQLite

how it stacks up fr

ibkr-bouncybot/ibkr-trading-bot0311119/free_registertool18597990650-lab/multi-agent-game
Stars242424
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity3/54/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Requires an Interactive Brokers account with TWS or IB Gateway running and properly configured market-data subscriptions.

Noncommercial use, modification, and redistribution are permitted, commercial use requires separate permission from the author.

in plain english

BouncyBot is a Windows desktop program written in Python that automates a single stock trading cycle at a time through Interactive Brokers. It connects to the broker via either Trader Workstation or IB Gateway, and it only trades on the long side, meaning it buys shares first and then sells them later. The program watches one confirmed stock contract, waits for a configurable price decline, enters on a rebound, and delays its normal profit-taking exit until a configured minimum-profit condition can be met. It uses Interactive Brokers' own trailing-stop or market orders, saves its state in a local SQLite database, and provides recovery, audit, and diagnostic tools. The bot follows a five-stage strategy. First, it watches for an initial percentage drop from a rising anchor price. Second, it enters the trade using a native buy trailing stop, or a market buy if the trailing amount is set to zero. Third, it waits until a sell order can protect a configured minimum gross profit relative to the actual average buy fill price. Fourth, it exits using a native sell trailing stop, or a market sell if the trailing amount is zero. Fifth, it records the completed cycle and optionally starts another one. The application offers a PySide6 desktop interface with views for connection, strategy, flowchart, history, and reconciliation. It supports connection profiles for live and paper trading endpoints, contract search and qualification through the broker API, and whole-share budget sizing. Other features include optional automatic cycle repetition with reinvestment of positive profits, portable SQLite storage with additive schema migration, atomic resume checkpoints for controlled shutdowns, and a single-instance lock to prevent two copies from using the same database. The README includes a clear caution that the software can transmit live orders. Native trailing stops trigger market-style execution and do not guarantee a stop price, fill price, or profit. Gaps, latency, insufficient liquidity, rejected orders, commissions, and broker behavior can all produce results that differ from the application's projections. Users are advised to review settings, broker permissions, market-data subscriptions, and recovery state before enabling live trading. The project is source-available under the PolyForm Noncommercial License 1.0.0. Noncommercial use, modification, and redistribution are permitted, while commercial use requires separate permission.

prompts (copy fr)

prompt 1
How do I configure BouncyBot to watch a specific stock contract, set the percentage drop trigger, and start a paper-trading cycle on Interactive Brokers?
prompt 2
Write a setup checklist for connecting BouncyBot to IB Gateway including connection profile settings, market-data subscriptions, and broker permissions I need to verify before going live.
prompt 3
Explain the five-stage BouncyBot trading strategy step by step and show me how the minimum gross profit condition and trailing stop amounts affect entry and exit.
prompt 4
How do I use BouncyBot's history and reconciliation views to audit a completed trade cycle and confirm the recorded fills match what Interactive Brokers reported?
prompt 5
Help me recover and resume an interrupted BouncyBot trade cycle after a controlled shutdown using the SQLite checkpoint state.

Frequently asked questions

what is ibkr-trading-bot fr?

A Windows desktop app that automates a single long-side stock trade at a time through Interactive Brokers. It watches a stock, buys on a rebound after a price drop, and sells only when a minimum profit is reached.

What language is ibkr-trading-bot written in?

Mainly Python. The stack also includes Python, PySide6, SQLite.

What license does ibkr-trading-bot use?

Noncommercial use, modification, and redistribution are permitted, commercial use requires separate permission from the author.

How hard is ibkr-trading-bot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ibkr-trading-bot for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.