Comprehensive tests that fetch actual data from Binance to verify: - Three-tier caching (memory → database → exchange) - Gap detection and filling (start, end, middle, multiple gaps) - Data integrity verification against direct exchange fetch - Freshness checking for stale data - Different timeframe handling - Edge cases (single candle, large ranges, overlapping requests) Tests are marked with @real_exchange and can be skipped in CI with: pytest -m "not real_exchange" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| src/exchange_data_manager | ||
| tests | ||
| .gitignore | ||
| CLAUDE.md | ||
| Dockerfile | ||
| README.md | ||
| config.yaml | ||
| docker-compose.yml | ||
| pyproject.toml | ||
README.md
Exchange Data Manager
Efficiently retrieve and manage financial candlestick data with caching, REST API, and WebSocket support.
Installation
pip install -e .
Usage
TODO: Add usage instructions
Documentation
Full documentation is available at: https://pages.brrd.tech/rob/exchange-data-manager/
Development
# Clone the repository
git clone https://gitea.brrd.tech/rob/exchange-data-manager.git
cd exchange-data-manager
# Create virtual environment
python -m venv .venv
source .venv/bin/activate
# Install for development
pip install -e ".[dev]"
# Run tests
pytest
License
TODO: Add license