v5.0.0
Added:
- Historical price data storage using ClickHouse
- Aggregation job that runs every 10 minutes to compute hourly and daily aggregates
- 12 new API endpoints for historical data:
GET /v1/rates/history/:symbol- Currency history (raw, last 24h)GET /v1/rates/history/:symbol/hourly- Currency history (hourly, last 90d)GET /v1/rates/history/:symbol/daily- Currency history (daily, all time)GET /v1/metals/history/:symbol- Metal history (raw, last 24h)GET /v1/metals/history/:symbol/hourly- Metal history (hourly, last 90d)GET /v1/metals/history/:symbol/daily- Metal history (daily, all time)GET /v1/crypto/history/:symbol- Crypto history (raw, last 24h)GET /v1/crypto/history/:symbol/hourly- Crypto history (hourly, last 90d)GET /v1/crypto/history/:symbol/daily- Crypto history (daily, all time)GET /v1/stocks/history/:symbol- Stock history (raw, last 24h)GET /v1/stocks/history/:symbol/hourly- Stock history (hourly, last 90d)GET /v1/stocks/history/:symbol/daily- Stock history (daily, all time)
- OHLC data (open, high, low, close) for aggregated endpoints
- Cache-friendly endpoints optimized for external proxy caching
Updated:
- Health check endpoint now includes
historyEnabledstatus - Docker Compose configuration with ClickHouse service
- Environment variables for ClickHouse configuration