Clean rewrite of the fxt CLI with unified gRPC client, JSON/human output abstraction, and stub implementations for all 15 command groups: auth, trade, train, tune, model, agent, backtest, broker, data, service, cluster, risk, config, watch (TUI), mcp. Deleted old fat-client commands, client modules, types, prelude, and tests (-12,769 net lines). Fixed pre-existing clippy issues in auth module (indexing_slicing in encryption.rs, manual_let_else in token_manager.rs, str_to_string in build.rs). 60 tests passing (53 lib + 7 binary), 0 clippy warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fxt
Foxhunt CLI -- command-line interface for the Foxhunt HFT trading system.
Commands
fxt auth-- authentication and token managementfxt trade-- order submission and managementfxt train-- model training job managementfxt tune-- hyperparameter optimizationfxt agent-- trading agent controlfxt model-- model listing and inspectionfxt backtest-ml-- ML backtesting workflows
Configuration
FXT_CONFIG-- config file path (default:~/.config/fxt/config.toml)TRADING_SERVICE_URL-- gRPC endpoint for trading service