Git Product home page Git Product logo

docker-tws's Introduction

TWS

Donate with Bitcoin Donate with Ethereum Donate with Litecoin

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

Usage

  1. git clone [email protected]:ryanclouser/docker-tws.git
  2. cd docker-tws
  3. Configure Trader Workstation on a local system.
    • Copy jts.ini to the cloned repository folder.
    • Copy tws.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 resolution and password in Dockerfile if needed.
  6. docker build -t tws .
  7. docker run -d --rm --name tws -e ARGS="username=IB_USERNAME password=IB_PASSWORD" -p 5900:5900 -p 7496:7496 -p 7497:7497 tws

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

docker-tws's People

Contributors

ryanclouser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-tws's Issues

Jts/*/tws: No such file or directory

when i try to run the docker, i get the following error message:

tws  | ./start.sh: line 2: Jts/*/tws: No such file or directory

any idea what might be wrong with my configuration?

thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.