Ibeam + trading bot app not connecting
Is it possible to create a multi-container docker app with an Ibeam container and a trading container? I tried, but the trading container is struggling to connect to IBKR API via Ibeam. To test this out, I created some code and a public repo in my Github account. Clone from [email protected]:hughandersen/trading_app.git
I actually just experinced this problem in a docker network. Do you have any ideas on how to fix this?
I have no problem connecting from my development computer directly to the IP adress of that computer. But everything from localhost or the docker network seems to be blocked. I can ping the ibeam docker without problems.
2024-10-03 08:45:43,566|E| Tickle request failed: IbkrClient: response error Result(data=None, request={'url': 'https://ibeam:5000/v1/api/tickle'}) :: 404 :: Not Found :: Access Denied
ibeam: image: voyz/ibeam:0.5.5 container_name: ibeam env_file: - env.list ports: - "0.0.0.0:5000:5000" - "0.0.0.0:5001:5001" restart: "no" networks: - algotech
stream: image: algo container_name: stream depends_on: - ibeam environment: - PYTHONDONTWRITEBYTECODE=1 - PYTHONUNBUFFERED=1 - startup=True - PRELOAD=False - IBEAM_HOST=ibeam command: python3 stream.py networks: - algotech
I'm going to close this issue due to inactivity. Thanks for your contribution and please feel free to request a reopen if you'd like to continue the discussion 👍