Skip to content

Commit c6eb1c7

Browse files
authored
Update README.md
1 parent 46ac235 commit c6eb1c7

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ The broker provides two java-executables serving as API-Server
2323
The `tws`-binary can operate as full GUI-Interface or as lightweight Gateway-Application. [IB-Container](https://github.com/ib-ruby/ib-container) can run both. The `ibgateway`-binary
2424
provides the proprietary `IB-API` and the `FIX-Protocol`, the industry standard to access trading-applications.
2525

26-
2726
## Setup
2827
The script `setup.sh`
2928
* downloads and installs a minimized Ubuntu Linux Image (Unbuntu 20.4 LTS)
@@ -38,7 +37,28 @@ The script `setup.sh`
3837

3938
Copy your Public SSH-Key to the IB-Container directory. This will grant SSH-access to the container.
4039

41-
Edit `setup.sh` and change `LOGIN`, `PASS`. If no demo account is used, set `DEMOACCOUNT` to zero.
40+
Edit the script and set or change default values, in particular `DEMOACCOUNT`.
41+
42+
```
43+
### tws/gateway credentials
44+
### leave empty for interactive mode
45+
LOGIN=
46+
PASS=
47+
DEMOACCOUNT=1 # 1 or 0
48+
49+
### predefine settings for ssh-tunnel
50+
SSH_MIDDLEMAN_SERVER=
51+
SSH_MIDDLEMAN_USER=
52+
```
53+
54+
55+
Run the Bash-Script by
56+
57+
```
58+
> chmod a+x setup.sh
59+
> ./setup.sh name_cof container ib-login ib-password
60+
```
61+
4262

4363

4464
## Arguments

0 commit comments

Comments
 (0)