antequant/ib-gateway-docker

Changing ReadOnlyApi flag?

Opened this issue · 1 comments

How can we change the ReadOnlyApi flag to 'no'?

environment:
  - ReadOnlyApi=no

is not working ;-)
lg.g.

A workaround is to mount the Jts config file and change the "readOnlyApi" flag to "false".

volumes:
  # Note: To change the "readOnlyApi" flag to "false" we have to map the following file.
  # The cryptic folder name is the encrypted user name.
  - /my_data/settings/ib-client-ibg.xml:/root/Jts/dfesdfdmjhcsflkdsjflkdsjkaaadfiacldcbsfggn/ibg.xml