Skip to content

ryanclouser/docker-ibgateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IB Gateway

Donate with Bitcoin Donate with Ethereum Donate with Litecoin

Creates a completely self-contained Docker container of IB Gateway. Exposes a VNC service on port 5900 and 7496/7497 for the IB API.

Usage

  1. git clone [email protected]:ryanclouser/docker-ibgateway.git
  2. cd docker-ibgateway
  3. Configure IB Gateway on a local system.
    • Copy jts.ini to the cloned repository folder.
    • Copy ibg.xml from your profile folder into the cloned repository folder (it's inside the very long folder name). This contains your account settings (like enabling/disabling read-only mode).
  4. Edit Dockerfile and change the PROFILE variable to the name of your profile.
  5. Edit the VNC password in Dockerfile if needed.
  6. docker build -t ibgateway .
  7. docker run -d --rm --name ibgateway -e ARGS="username=IB_USERNAME password=IB_PASSWORD" -p 5900:5900 -p 7496:7496 -p 7497:7497 ibgateway

If paper trading, a 'return' keystroke will be sent after 15s to skip the warning dialog.


About

Docker container for running IB Gateway headless

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published