{"repo":"heshiming/ibga","free":true,"listed":false,"github":"https://github.com/heshiming/ibga","clone":"git clone https://github.com/heshiming/ibga.git","description":"IB Gateway in a headless docker container.","language":"Shell","stars":53,"topics":["ib-gateway","ibkr","ibkr-api","interactive-brokers","algo-trading","algotrading","quant-finance"],"license":"GPL-3.0","category":"trading","readme_excerpt":"IB Gateway Automation (IBGA) IBGA is IB Gateway in headless mode. It is a container image preloaded with scripts for automating user interactions with IBG. With TOTP (Time-based one-time password/IBKR Mobile Authenticator App) automation and second factor support. Benefits: A \"docker compose\" flavored configuration Store username, password, time zone and other options in one place Automatic installation and easy upgrade of IBG Automatic handling of daily restarts beyond the one week limit, upon exit or crash Automatic handling of paper trading confirmation and options dialog Automatic daily export of logs Retaining of settings after an upgrade A disposable container design Support Mobile Authenticator App automation (as of Nov 3, 2024) Support two-factor authentication (as of Nov 11, 2022) Under the hood: IBGA runs in a set of bash scripts. IBGA relies on JAuto, a JVMTI agent to determine screen locations of windows, text boxes, and buttons. IBGA relies on xdotool to simulate keyboard and mouse input. IBGA relies on Xvfb , x11vnc , novnc to provide a VNC-capable X11 environment for IBG. IBGA relies on oathtool to generate TOTP passcodes. Documentation https://heshiming.github.io/ibga/ Example docker-compose.yml version: '2' services: my-ibga: image: heshiming/ibga restart: unless-stopped environment: - TERM=xterm - IB USERNAME=username - IB PASSWORD=password - IB REGION=America - IB TIMEZONE=America/New York - IB LOGINTAB=IB API - IB LOGINTYPE=Live Trading - IB LOGOFF=11:55 P","default_branch":null,"files":null,"tree":[],"storefront":"/r/heshiming","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heshiming/ibga/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."}