- 13 commands with full gRPC implementations: service, train, tune, model, trade, broker, agent, data, risk, config, cluster, auth, backtest - Streaming support: train logs --follow, broker executions --follow - --json output on every command via OutputFormat/HumanReadable - Fix web-gateway monitoring URL default (50057 → 50051, API Gateway) - Rewire 7 remaining build.rs to consolidated proto/ root (web-gateway, backtesting_service, training_uploader, 3 test crates, e2e) - Fix web-gateway ml_training.proto new fields (mode, max_epochs, resume) - 75 fxt tests + 139 web-gateway tests, 0 clippy warnings, workspace clean Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
backtesting_service
Strategy backtesting engine with historical data replay, performance reporting, and results persistence.
Key Types
BacktestingServiceImpl-- main gRPC serviceDataReplayEngine-- historical market data replayPerformanceReporter-- Sharpe, drawdown, win rate metrics
gRPC Endpoints
RunBacktest-- submit backtest configuration and strategyGetBacktestResults-- retrieve results for completed backtestsListAvailableStrategies-- list registered strategiesGetBacktestReport-- detailed performance report
Configuration
GRPC_PORT-- gRPC listen portDATABASE_URL-- PostgreSQL connection string- Historical data directory with Parquet tick/OHLCV files
Testing
SQLX_OFFLINE=true cargo test -p backtesting_service --lib