Skip to content

trading mode (paper/live) can't be set correctly with linux Jts version 965 #148

@foreverflying

Description

@foreverflying

this is the Jts version i used:
https://download2.interactivebrokers.com/installers/tws/latest-standalone/tws-latest-standalone-linux-x64.sh
the major version is 965.
i use it as a IBGateway

i ran IBControllerGatewayStart.sh with Xvfb in a docker container, the log shows that the login dialog is auto maintained.
but the market data port isn't listened.
then i search in /root/Jts/launcher.log, just found this:

[JTS-AuthDispatcherS1-11] - Connection to server failed: You have selected the Live Trading Mode, but the specified user
is a Paper Trading user.

Please select the correct Trading Mode.

of couse i do set the trade mode to paper, it's the log:
IBController: using default trading mode manager: constructor parameter args: tradingMode=paper

i think maybe in the new version of gateway, this are some changes on the control of selecting the trading mode, but the IBController can't handle this.

can anyone fix this? thanks~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions