Using docker file for ib gateway

This commit is contained in:
2026-06-20 02:06:20 -07:00
parent 83c28518d5
commit e396586765
11 changed files with 208 additions and 28 deletions
+27
View File
@@ -0,0 +1,27 @@
# Live account credentials
TWS_USERID=
TWS_PASSWORD=
# Paper account credentials (required for TRADING_MODE=both)
TWS_USERID_PAPER=
TWS_PASSWORD_PAPER=
TRADING_MODE=paper
# VNC password (required to enable VNC on port 5900)
VNC_SERVER_PASSWORD=changeme
# Restart gateway daily at this time instead of full logoff (avoids daily 2FA)
AUTO_RESTART_TIME=11:59 PM
TWOFA_TIMEOUT_ACTION=restart
RELOGIN_AFTER_TWOFA_TIMEOUT=yes
READ_ONLY_API=no
ALLOW_BLIND_TRADING=no
EXISTING_SESSION_DETECTED_ACTION=primary
TIME_ZONE=America/Vancouver
# SSH tunnel (leave blank if not using)
SSH_TUNNEL=
SSH_USER_TUNNEL=
SSH_PASSPHRASE=