default-features which included cuda; my prior commit dropped both default-features=false AND added only `financial`, breaking compile. ml's source references cudarc unconditionally (cudarc::driver::CudaSlice etc. are not behind #[cfg(feature = "cuda")]). With `cuda` feature off, cudarc is not pulled in, leading to 722 unresolved-module errors. Add `cuda` explicitly to the features list. The 8 leaf sub-crates (ml-backtesting, ml-paper-trading, etc.) stay dropped — the win on service compile time is preserved. Real fix is to gate cudarc references in crates/ml/src/ behind `#[cfg(feature = "cuda")]`, but that's a separate refactor.
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