Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds second factor device env var to IBC config #163

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ services:
environment:
TWS_USERID: ${TWS_USERID}
TWS_PASSWORD: ${TWS_PASSWORD}
TWOFA_DEVICE: ${TWOFA_DEVICE}
TRADING_MODE: ${TRADING_MODE:-paper}
TWS_SETTINGS_PATH: ${TWS_SETTINGS_PATH:-}
TWS_ACCEPT_INCOMING: ${TWS_ACCEPT_INCOMING:-}
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
environment:
TWS_USERID: ${TWS_USERID}
TWS_PASSWORD: ${TWS_PASSWORD}
TWOFA_DEVICE: ${TWOFA_DEVICE}
TRADING_MODE: ${TRADING_MODE:-paper}
TWS_USERID_PAPER: ${TWS_USERID_PAPER:-}
TWS_PASSWORD_PAPER: ${TWS_PASSWORD_PAPER:-}
Expand Down
2 changes: 1 addition & 1 deletion latest/config/ibc/config.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ FIXPassword=
# in the list. If no value is set, you must manually select the
# relevant list entry.

SecondFactorDevice=
SecondFactorDevice=${TWOFA_DEVICE}


# If you use the IBKR Mobile app for second factor authentication,
Expand Down
2 changes: 1 addition & 1 deletion stable/config/ibc/config.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ FIXPassword=
# in the list. If no value is set, you must manually select the
# relevant list entry.

SecondFactorDevice=
SecondFactorDevice=${TWOFA_DEVICE}


# If you use the IBKR Mobile app for second factor authentication,
Expand Down
1 change: 1 addition & 0 deletions template_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ services:
environment:
TWS_USERID: ${TWS_USERID}
TWS_PASSWORD: ${TWS_PASSWORD}
TWOFA_DEVICE: ${TWOFA_DEVICE}
TRADING_MODE: ${TRADING_MODE:-paper}
TWS_SETTINGS_PATH: ${TWS_SETTINGS_PATH:-}
TWS_ACCEPT_INCOMING: ${TWS_ACCEPT_INCOMING:-}
Expand Down
1 change: 1 addition & 0 deletions tws-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
PASSWD: ${PASSWD:-}
TWS_USERID: ${TWS_USERID}
TWS_PASSWORD: ${TWS_PASSWORD}
TWOFA_DEVICE: ${TWOFA_DEVICE}
TRADING_MODE: ${TRADING_MODE:-paper}
TWS_USERID_PAPER: ${TWS_USERID_PAPER:-}
TWS_PASSWORD_PAPER: ${TWS_PASSWORD_PAPER:-}
Expand Down