Create 8 missing READMEs (config, ctrader-openapi, market-data, ml-data, model_loader, risk-data, trading-data, training_uploader). Update 9 existing READMEs to standard template format. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
555 B
Markdown
25 lines
555 B
Markdown
# database
|
|
|
|
PostgreSQL persistence layer for the Foxhunt HFT system.
|
|
|
|
## Key Types
|
|
|
|
- `DatabasePool` — connection pool management
|
|
- Schema definitions for trading events, market data, and audit logs
|
|
- Migration management utilities
|
|
|
|
## Features
|
|
|
|
- PostgreSQL schema and migrations
|
|
- Event streaming and audit log
|
|
- Optimized time-series storage and indexing
|
|
- Connection pooling for high-throughput access
|
|
- Data archiving and retention policies
|
|
|
|
## Usage
|
|
|
|
```rust
|
|
use database::connection::establish_connection;
|
|
let conn = establish_connection()?;
|
|
```
|