Files
foxhunt/bin/fxt
jgrusewski ab101f1110 feat: MCP server mode + TUI cockpit framework
MCP server (bin/fxt/src/mcp/):
- JSON-RPC 2.0 protocol over stdin/stdout
- 32 tool definitions across 11 domains
- McpServer with initialize/tools_list/tools_call handlers
- 21 unit tests

TUI cockpits (bin/fxt/src/tui/):
- Purple/cyan/dark navy theme from design spec
- 6 cockpit views: overview, training, trading, services, risk, data
- Crossterm event loop with key handling (1-6 switch, q quit, ? help)
- CockpitView trait for pluggable cockpit rendering

All 75 tests pass, 0 clippy warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 21:48:59 +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