Files
The-Ouroboros/docker-compose.yml
Jiho Son d1750af80f
Some checks failed
CI / test (push) Has been cancelled
Add complete Ouroboros trading system with TDD test suite
Implement the full autonomous trading agent architecture:
- KIS broker with async API, token refresh, leaky bucket rate limiter, and hash key signing
- Gemini-powered decision engine with JSON parsing and confidence threshold enforcement
- Risk manager with circuit breaker (-3% P&L) and fat finger protection (30% cap)
- Evolution engine for self-improving strategy generation via failure analysis
- 35 passing tests written TDD-first covering risk, broker, and brain modules
- CI/CD pipeline, Docker multi-stage build, and AI agent context docs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 02:08:48 +09:00

31 lines
570 B
YAML

services:
ouroboros:
build:
context: .
target: production
container_name: ouroboros
restart: unless-stopped
env_file:
- .env
volumes:
- trade_data:/app/data
command: ["--mode=paper"]
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
# Run tests (one-shot)
test:
build:
context: .
target: base
container_name: ouroboros-test
command: ["pytest", "-v", "--cov=src", "--cov-report=term-missing"]
profiles:
- test
volumes:
trade_data: