# gnzsnz/ib-gateway-docker

Docker image with IB Gateway/TWS and IBC

Repository: https://github.com/gnzsnz/ib-gateway-docker
Canonical: https://ross.abutalabs.com/products/ib-gateway-docker
Homepage: https://github.com/users/gnzsnz/packages/container/package/ib-gateway
Language: Shell
License: MIT
License Family: permissive
Topics: docker, algorithmic-trading, ibgateway, ibkr, quant, quantitative-finance, trading, trading-bot, tws, tws-api
Last push: 2026-08-31T17:46:23+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 100, release rhythm 87, longevity 80
- inputs: {"age_days": 1123, "days_push": 2, "days_rel": 7, "gap_med": 5.0, "n_releases_24m": 107}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1152, forks 240 (observed 2026-09-01T02:14:01.845125+00:00)

## What it is
A Docker image that runs Interactive Brokers Gateway or TWS headlessly with IBC for automated login control, Xvfb, VNC access, and socat for TCP relaying. It enables unattended, containerized IBKR trading infrastructure for algorithmic trading setups.

## Use cases
- run ib gateway in docker headlessly
- automate interactive brokers login for trading bot
- deploy ibkr gateway on a server for algo trading
- run tws without human interaction in a container
- host ib gateway for paper and live trading in parallel
- connect a trading bot to ib gateway remotely

## When to choose
- you need unattended IB Gateway/TWS for automated or quant trading
- you want reproducible containerized IBKR infrastructure with secrets and SSH tunnel support
- you run on ARM hosts like Raspberry Pi or Apple Silicon

## When to avoid
- you need a GUI trading workstation rather than an API gateway backend
- you don't trade through Interactive Brokers
- you can't run Docker or containers in your environment

## Facets
- artifact type: infra-config
- maturity: active
- function: container-runtime, deployment, trading, developer-tools
- domain: fintech
- platform: self-hosted, cloud
- tags: interactive-brokers, ib-gateway, tws, ibc, algorithmic-trading, quant, headless, vnc, docker-image, trading, containers, devops, automation, docker, linux

## Member repositories
- gnzsnz/ib-gateway-docker (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:01.845125+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:36:30.937830+00:00, confidence not recorded.
  - readme: https://github.com/gnzsnz/ib-gateway-docker (fetched 2026-09-01T02:14:01.845125+00:00, sha 0e39dc09cc6a)
  - homepage: https://github.com/users/gnzsnz/packages/container/package/ib-gateway (fetched 2026-08-29T12:41:25.977178+00:00, sha 65e04dda8f77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
