# 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()?;
```
