Skip to content

Fix the documented WebSocket limitation in Docker live mode #82

Description

@chizy7

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions