Initial release: TradeMind crypto trading bot with paper/live modes and strategy training

This commit is contained in:
Tobias Zimmermann
2026-08-22 11:53:59 +02:00
commit 7959dd71ff
18 changed files with 1604 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
FROM python:3.12-slim
WORKDIR /app
# Python-Dependencies zuerst (bessere Layer-Cache)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Anwendungssource
COPY trademind ./trademind
COPY config.yaml config.yaml
RUN useradd --create-home --shell /bin/bash trademind \
&& chown trademind:trademind /app
USER trademind
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
TM_CONFIG=/app/config.yaml
# Default: Paper-Modus. Für Live: TM_MODE=live
ENTRYPOINT ["python", "-m", "trademind"]
CMD ["paper", "--config", "config.yaml"]