Sign inSign up

heshiming/ibga

By heshiming

•Updated 9 days ago

IB Gateway Automation (IBGA)

Image
0

10K+

heshiming/ibga repository overview

⁠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.

⁠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

⁠Under the hood:

⁠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 PM
      - IB_APILOG=data
      - IB_LOGLEVEL=Error
    volumes:
      - ./run/program:/home/ibg
      - ./run/settings:/home/ibg_settings
    ports:
      - "15800:5800"
      - "4000:4000"

Tag summary

Content type

Image

Digest

sha256:9a2bfa755…

Size

140.3 MB

Last updated

9 days ago

docker pull heshiming/ibga