Files
foxhunt/crates/data
jgrusewski 61950e4c05 refactor: consolidate ErrorSeverity to common crate
Three duplicate ErrorSeverity enums (data/error.rs, data/validation.rs,
database/error.rs) with variants Low/Medium/High/Critical now use the
canonical definition in common::error::ErrorSeverity.

Extended common's ErrorSeverity with Low, Medium, High variants (alongside
existing Debug, Info, Warn, Error, Critical) and added PartialOrd/Ord derives
so both severity models coexist in a single type.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 19:39:54 +01:00
..

data

Market data ingestion, broker integration, and feature extraction.

Providers

  • Databento -- Historical and real-time market data via DBN format
  • Benzinga -- News and fundamentals feed

Broker Integrations

  • IB TWS -- Interactive Brokers TWS/Gateway socket connection
  • ICMarkets -- FIX 4.4 protocol integration

Key Modules

  • brokers -- Broker adapters (IB TWS, ICMarkets FIX)
  • providers -- Data provider clients (Databento, Benzinga)
  • dbn_uploader -- DBN file upload and processing
  • parquet_persistence -- Parquet read/write for tick and bar data
  • replay -- Market data replay for backtesting
  • training_pipeline -- Data preparation for ML model training
  • features -- Technical indicator and feature computation
  • unified_feature_extractor -- Normalized feature vectors across providers
  • validation -- Data quality checks and schema validation

Cargo Features

Feature Default Description
databento yes Databento provider support
benzinga yes Benzinga provider support
icmarkets yes ICMarkets FIX 4.4 integration
redis-cache no Redis caching layer
ib no Interactive Brokers TWS adapter
mock no Mock providers for testing

Testing

SQLX_OFFLINE=true cargo test -p data --lib