Skip to content

Automation Workflows

Combine Claude Code skills with automation tools for end-to-end trading automation.

Windmill (preferred) or n8n for workflow automation.

Tool Best For
Windmill Python-heavy, long-running jobs, ML
n8n Simple webhooks, integrations

Architecture

┌─────────────────────────────────────────────────────────────────┐
│                    WINDMILL ORCHESTRATION                       │
└─────────────────────────────────────────────────────────────────┘
     ┌────────────────────────┼────────────────────────┐
     │                        │                        │
     ▼                        ▼                        ▼
┌──────────┐          ┌──────────────┐          ┌──────────────┐
│  Daily   │          │   Weekly     │          │  Real-time   │
│  Data    │          │  Retrain     │          │  Execution   │
│  Refresh │          │  Models      │          │  Webhooks    │
└──────────┘          └──────────────┘          └──────────────┘

Example Flows

Daily Data Refresh

Schedule (6am) → Fetch Data → Validate → Archive → Trigger Backtest

Weekly Model Retrain

Schedule (Sunday) → Train Model → Validate OOS → Compare Baseline → Deploy

Real-time Execution

TradingView Alert → Webhook → Risk Check → MT5/Exchange → Log

Skills + Automation

Skill Automation Use
/backtest Daily/weekly validation
/train-model Scheduled retraining
/pine-analyze Pre-deployment checks

Setup Guide

  1. Install Windmill (self-hosted Docker)
  2. Create webhook endpoints
  3. Connect TradingView alerts
  4. Schedule data/training jobs
  5. Configure notifications

See Windmill Documentation for detailed setup.