Statarb
Description
Production-grade statistical arbitrage trading system with 20+ alpha strategies, portfolio optimization, and multiple backtesting engines. Features PCA decomposition, Barra risk models, and realistic transaction cost modeling for daily rebalancing across ~1,400 US equities.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Statistical Arbitrage Trading System
A production-grade statistical arbitrage (stat-arb) trading system that identifies market mispricings through quantitative factor analysis, portfolio optimization, and systematic execution. The system processes historical market data, generates alpha signals from multiple strategies, optimizes portfolio positions considering transaction costs and risk, and backtests trading strategies through multiple simulation engines.
Python 3 Migration Complete ✅
**Migration Status**: COMPLETE (v2.0.0-python3) **Python Version**: 3.8+ (recommended 3.9-3.12) **Migration Date**: February 2026 **Test Coverage**: 99% pass rate (101/102 tests)
This codebase has been successfully migrated from Python 2.7 to Python 3. All core functionality validated and production-ready. See [PYTHON3_MIGRATION_COMPLETE.md](PYTHON3_MIGRATION_COMPLETE.md) for migration details and [RELEASE_NOTES_v2.0.0.md](RELEASE_NOTES_v2.0.0.md) for changes.
**Key Changes:**
- Python 3.8+ required (tested with 3.12.3)
- Modern dependencies: numpy>=1.19, pandas>=1.3, scipy>=1.5
- scipy.optimize replaces OpenOpt (Python 3 compatible)
- 100% backward compatible function signatures
- Zero breaking changes to user-facing APIs
Overview
This system implements a complete workflow for statistical arbitrage trading:
- Data Loading & Preprocessing: Loads and processes market data from multiple sources
- Alpha Generation: Calculates predictive signals from 20+ trading strategies
- Factor Analysis: Decomposes returns using PCA and Barra risk models
- Portfolio Optimization: Maximizes risk-adjusted returns with realistic constraints
- Backtesting: Simulates execution across multiple engines with transaction cost modeling
The system is designed for daily rebalancing across ~1,400 US equities with sophisticated risk management and execution cost modeling.
Table of Contents
- Features
- Architecture
- [Installation](#insta
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11