Repository navigation
v1.11.0: Celery Workers for Background Processing
What's New
New Features
- Celery Worker Service: Added production-ready background task processing with 2 concurrent workers
- Celery Beat Scheduler: Automated periodic gap filling with market hours awareness
- Smart Scheduling: Gap filling runs during peak market hours (12-00 UTC) to minimize API usage
- Health Monitoring: Comprehensive health checks for both Celery services
Docker Stack
All services now include:
- Web application (Flask)
- Redis (caching and task queue)
- Celery worker (background tasks)
- Celery beat (periodic scheduling)
- Watchtower (auto-updates)
Improvements
- Market hours-aware task scheduling for optimal API quota management
- Automatic OHLC data fetching when positions are imported
- Distributed gap filling throughout the day to spread API load
Deployment
Pull the latest Docker image and restart your stack:
docker-compose pull
docker-compose up -dAll services will start automatically with proper health monitoring.