Files
foxhunt/bin/fxt
jgrusewski 47cea06e86 fix(fxt): default broker check port 4002 → 4004 (socat)
The IB Gateway JVM uses non-blocking I/O on port 4002, which causes
EAGAIN errors with ibapi's blocking Client::connect(). The gnzsnz
image provides socat on port 4004 as a stable proxy that bridges
blocking clients to the non-blocking gateway socket.

Port 4004 is the correct client-facing port for paper mode (4003 for
live). The K8s readiness probe stays on 4002 since TCP probes work
fine with non-blocking sockets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 14:43:32 +01:00
..

fxt

Foxhunt CLI -- command-line interface for the Foxhunt HFT trading system.

Commands

  • fxt auth -- authentication and token management
  • fxt trade -- order submission and management
  • fxt train -- model training job management
  • fxt tune -- hyperparameter optimization
  • fxt agent -- trading agent control
  • fxt model -- model listing and inspection
  • fxt backtest-ml -- ML backtesting workflows

Configuration

  • FXT_CONFIG -- config file path (default: ~/.config/fxt/config.toml)
  • TRADING_SERVICE_URL -- gRPC endpoint for trading service