Skip to content

IB_LOGOFF is not setting things up properly #36

Description

@jpike88

my .env file:

TERM=xterm
IB_USERNAME=XXX
IB_PASSWORD=XXXX
IB_REGION=America
IB_TIMEZONE=America/New_York
IB_LOGINTAB=IB API
IB_LOGINTYPE=Paper Trading
IB_LOGOFF=11:55 PM
TOTP_KEY=XXXXXX

Everything seems to work fine, but then gets stuck at this point:

Image

The current workaround is to just not include IB_LOGOFF variable.

Relevant logs leading up to this point:

• entered maintenance cycle
  - welcome: 50% Build 10.48.1e Requesting startup parameters... Logging in pikatore88
  - welcome: 61% Build 10.48.1e Requesting startup parameters... Logging in pikatore88
LogModuleConfigurator-Init: Log4j Ver2.x found on classpath
LogModuleConfigurator-Init: LogModuleConfigurator initialized with Log4j Veri.x
  - got warning: <html>This is not a brokerage account. <br>This is a "paper" trading account in which you <br>can engage in simulated trading. <br><br>Please confirm that you understand and wish <br>to conduct simulated trading before proceeding.</html> [I understand and accept]
    clicking [I understand and accept] at 511,495 ...
  - option check, clicking menu Configure/Settings ...
  - option check, clicking tree item Configuration/Lock and Exit ...
  - option check, changing logoff time from 11:45 to 11:55 ...
  - option check, clicking Auto restart ...
  - option check, double clicking tree item Configuration/API ...
  - option check, clicking tree item Configuration/API/Settings ...
  - option check, confirming settings change ...
  - handle general warning: <html>
 <head>
 
 </head>
 <body>
 <p>
 You have elected to have your trading platform restart automatically on 
 a daily basis.
 </p>
 <p>
 There are some considerations you would need to take into account if you 
 select the auto restart: please <a href="https://www.interactivebrokers.com.hk/en/software/tws/twsguide.htm#usersguidebook/configuretws/auto_restart_info.htm">click 
 here</a> for more information.
 </p>
 </body>
</html>
    clicking OK at 512,452 ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions