Files
foxhunt/crates/database
jgrusewski b57df47ddc docs: create/update README.md for all 17 crates
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>
2026-03-01 22:47:39 +01:00
..

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

use database::connection::establish_connection;
let conn = establish_connection()?;