Fix the documented WebSocket limitation in Docker live mode
- Dominant language
- C++
- Stars
- 14
- Forks
- 12
- Avg merge
- 1h 27m
- Merged PRs (30d)
- 3
Description
## Context
The scripts reference (docs/SCRIPTS.md) documents that live trading through `scripts/run-docker.sh` has a known WebSocket config limitation, while native execution connects fine. The comparison table steers users to native for live trading because of it. A production-oriented Docker path that cannot do live trading undercuts the "recommended for production" positioning.
## What to do
- Reproduce the failure: run `scripts/run-docker.sh -m live -v` with valid credentials and capture the WebSocket error.
- Identify the root cause. Likely suspects: CA certificates missing in the runtime image for TLS to the exchange, container networking/DNS, or the config volume mount not exposing what live mode needs.
- Fix the Dockerfile or script accordingly, and verify a live Coinbase connection from inside the container.
- Update docs/SCRIPTS.md to remove the limitation once fixed.
## Notes
If the root cause turns out to be environmental and not fixable in the image, document the exact constraint and workaround instead.
Contributor guide
Research direction
Start by running scripts/run-docker.sh -m live -v with valid credentials and capture the WebSocket error. Inspect the Dockerfile and run-docker.sh for runtime certificates, networking or DNS, and configuration mounts. Verify a live Coinbase connection from inside the container, then update docs/SCRIPTS.md to remove the limitation or record the confirmed constraint and workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, documentation, fintech-quant, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100