feat: add trading stats to AI context and one-click deployment data clearing

- Add historical trading statistics to AI decision context with language detection
- Remove win rate from metrics, focus on profit factor, sharpe ratio, win/loss ratio
- Add option to clear trading data tables during one-click deployment
- Add sqlite to Docker runtime for container-based data clearing
This commit is contained in:
tinkle-community
2025-12-28 22:09:47 +08:00
parent d74867c220
commit b228412821
6 changed files with 281 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ RUN CGO_ENABLED=1 GOOS=linux \
# ──────────────────────────────────────────────────────────────
FROM alpine:${ALPINE_VERSION}
RUN apk update && apk add --no-cache ca-certificates tzdata
RUN apk update && apk add --no-cache ca-certificates tzdata sqlite
COPY --from=ta-lib-builder /usr/local /usr/local
WORKDIR /app