- Auto-refresh: before non-auth commands, if the access token is expired but a refresh token exists, silently regenerate tokens. Prints "Token refreshed." to stderr so users know what happened. - FXT_PASSWORD: login reads password from this env var when set, skipping the interactive prompt. Safer than a --password flag (env vars don't appear in ps output or shell history). 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