Skip to content

v1.11.0: Celery Workers for Background Processing

Choose a tag to compare

@qsor27 qsor27 released this 27 Jan 05:11
· 21 commits to main since this release
1eaeb85

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 -d

All services will start automatically with proper health monitoring.

Full Changelog

v1.10.0...v1.11.0