blue-green-deployment-for-live-strategy-updates · v1.0.0 · 2026-07-30 · sha256 2055f5db4823dac8
blue-green-deployment-for-live-strategy-updates v1.0.0A
Immutable. This exact content is served forever at /api/v1/blob/2055f5db4823dac8.
--- name: blue-green-deployment-for-live-strategy-updates description: Institutional quant standards for zero-downtime, state-synchronized blue-green deployments for live trading systems. domain: algorithmic-trading subdomain: general tags: - trading - algo - skill brokers_frameworks: - Python - Dataclasses version: 1.0.0 author: algo-trading-skills-contributors license: Apache-2.0 --- # Blue-Green Deployment for Live Strategy Updates ## Overview This skill provides robust, institutional-grade standards and implementation patterns for deploying quantitative trading strategies via blue-green deployment. This approach guarantees zero-downtime cutovers, continuous market data ingestion, and rapid, state-aware rollbacks. ## Objectives - **Zero Market Disruption:** Ensure continuous trading presence and uninterrupted market data processing. - **Risk Mitigation:** Run extensive risk and health checks on new strategy instances (Green) before transferring live order routing. - **Atomic Cutovers:** Transfer live portfolio state and order routing instantaneously to the new version. - **Immediate Rollback:** Retain the prior version (Blue) in a standby/draining state to allow sub-second rollback if anomalies are detected. ## Structure - `scripts/blue_green_deployer.py`: The robust implementation with state syncing and thread safety. - `scripts/test_blue_green_deployer.py`: Thorough unit tests validating cutover and rollback paths. - `references/workflows.md`: Detailed CI/CD to live trading deployment pipelines. - `references/standards.md`: Quant-specific engineering requirements for zero-gap state transitions. - `assets/checklist.md`: The critical path checklist for trading operations teams. ## Usage Consult the `references` for architectural standards, and utilize `scripts/blue_green_deployer.py` to manage active vs inactive slots in your quantitative execution engine. ## When to Use Documentation for When to Use. ## Prerequisites Documentation for Prerequisites. ## Workflow Documentation for Workflow. ## Common Pitfalls Documentation for Common Pitfalls. ## Verification Documentation for Verification. ## Related Skills Documentation for Related Skills.