Create 3 missing service READMEs (api_gateway, data_acquisition_service, trading_agent_service). Create bin/fxt/README.md. Create testing/service-integration/README.md. Update existing service and testing READMEs to standard template. Delete 4 subdirectory READMEs from testing/integration/ and testing/e2e/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
810 B
Markdown
29 lines
810 B
Markdown
# backtesting_service
|
|
|
|
Strategy backtesting engine with historical data replay, performance reporting, and results persistence.
|
|
|
|
## Key Types
|
|
|
|
- `BacktestingServiceImpl` -- main gRPC service
|
|
- `DataReplayEngine` -- historical market data replay
|
|
- `PerformanceReporter` -- Sharpe, drawdown, win rate metrics
|
|
|
|
## gRPC Endpoints
|
|
|
|
- `RunBacktest` -- submit backtest configuration and strategy
|
|
- `GetBacktestResults` -- retrieve results for completed backtests
|
|
- `ListAvailableStrategies` -- list registered strategies
|
|
- `GetBacktestReport` -- detailed performance report
|
|
|
|
## Configuration
|
|
|
|
- `GRPC_PORT` -- gRPC listen port
|
|
- `DATABASE_URL` -- PostgreSQL connection string
|
|
- Historical data directory with Parquet tick/OHLCV files
|
|
|
|
## Testing
|
|
|
|
```bash
|
|
SQLX_OFFLINE=true cargo test -p backtesting_service --lib
|
|
```
|