Sign inSign up

okinta/stack-ibgateway

By okinta

•Updated about 6 years ago

Runs Interactive Brokers (IB) gateway as an Okinta stack

Image
0

1.6K

okinta/stack-ibgateway repository overview

⁠README

Runs Interactive Brokers (IB) gateway as an Okinta stack.

⁠What is an Okinta Stack?

An Okinta stack is a deployable unit for Alga that runs within Okinta's infrastructure. Stacks describe all necessary information to deploy a service.

For more information about Alga, refer to the alga-infra repository⁠.

⁠What is this Stack?

This stack runs IB gateway as a service, allowing other services to remotely send orders to the financial markets.

⁠Dependencies

This stack is dependent on the vault stack⁠ in order to retrieve login information for IB. It produces the okinta/ibgateway⁠ container, which is managed as a seperate generic repository.

⁠Development

⁠Building
docker build -t okinta/stack-ibgateway .
⁠Running
docker run okinta/stack-ibgateway
⁠Connecting to Vault

To connect to Vault locally, establish an SSH tunnel:

ssh -N -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -L 7020:127.0.0.1:7020 <VAULT HOST>

Then to allow access to Vault inside the container, use:

docker run --add-host "vault.in.okinta.ge:$(docker run alpine getent hosts host.docker.internal | cut -d' ' -f1)" okinta/stack-ibgateway

Tag summary

Content type

Image

Digest

Size

225.1 MB

Last updated

about 6 years ago

docker pull okinta/stack-ibgateway