Add complete Ouroboros trading system with TDD test suite
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
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>
This commit is contained in:
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user