feat: catalyst detection service for stock events

- Disclosure-based catalyst identification
- GET /results endpoint for catalyst data by stock
- REST API with health, streams, and trigger endpoints
- Redis Streams for async job processing
- Docker support with multi-stage build

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
yakenator
2026-02-23 13:50:51 +09:00
commit bec61e2b02
8 changed files with 279 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM python:3.12-slim
WORKDIR /app
COPY stock-common/ /tmp/stock-common/
RUN pip install --no-cache-dir /tmp/stock-common/ && rm -rf /tmp/stock-common/
COPY stock-catalyst/ .
RUN pip install --no-cache-dir .
CMD ["python", "-m", "stock_catalyst.worker"]