Commit Graph

2 Commits

Author SHA1 Message Date
rob bf95490673 Update docs, enable exchanges, and fix tests
- Update CLAUDE.md to reflect actual module structure (add websocket,
  connection_pool, monitoring modules; remove outdated "Planned" note)
- Enable additional exchanges in config.yaml (kucoin, kraken, okx, etc.)
- Fix cache manager to refetch when memory has fewer candles than limit
- Fix benchmark tests asyncio event loop issues (use new_event_loop)
- Update unit tests to match new cache behavior and config

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-06 13:36:38 -04:00
rob e501d61445 Implement M1, M2, M3 milestones - full exchange data manager
M1: Core Infrastructure
- Three-tier caching (memory → database → exchange)
- SQLite async database with connection pooling
- Memory cache with LRU eviction and TTL
- Gap detection and forward-fill gap filling
- Completeness validation for data requests

M2: Multi-Exchange Support
- Generic CCXT connector supporting all ccxt exchanges
- Session-based credential management
- WebSocket streaming with pub/sub subscriptions
- Rate limiting via CCXT's built-in limiter

M3: Production Ready
- Health checks (/health, /health/detailed) and metrics (/metrics)
- Connection pooling with WAL mode for SQLite
- Performance benchmarks (pytest-benchmark)
- BrighterTrading integration tests
- Docker deployment (Dockerfile, docker-compose.yml)
- Documentation (API reference, deployment, integration guide)

Includes 284 tests covering all components.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-03 04:05:30 -04:00