Go to file
sylyx 680a4fcc5f feat: graceful fallback to single-voter when voter_a hits rate limit
- main.py: detect rate_limit_exhausted from voter_a, switch to single(voter_b)
  and notify Discord once per session
- discord.py: add notify_voter_fallback() with yellow warning embed
- config.py: add voter_fallback to default notify_on list
- dashboard/app.py: show warning banner when fallback mode active (last 2h)
- CLAUDE.md: refresh architecture docs, fix stale google-genai migration note

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 19:55:47 +02:00
deploy fix(systemd): disable ProtectHome (uv stores python in user home) 2026-05-07 14:36:46 +02:00
scripts initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00
src/aitrader feat: graceful fallback to single-voter when voter_a hits rate limit 2026-05-07 19:55:47 +02:00
tests initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00
.env.example initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00
.gitignore initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00
CLAUDE.md feat: graceful fallback to single-voter when voter_a hits rate limit 2026-05-07 19:55:47 +02:00
config.yaml config: enable per-tick decision notifications in Discord 2026-05-07 15:53:44 +02:00
DEPLOY.md initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00
pyproject.toml feat(gemini): migrate to google-genai SDK (no more deprecation warning) 2026-05-07 15:09:43 +02:00
README.md initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00
READMEV2.md initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00

aitrader

AI-Trader: Gemini + Claude Ensemble entscheidet alle 15 Minuten über BTC/EUR und ETH/EUR auf der Kraken Futures Demo. Lokales SQLite + Streamlit-Dashboard.

Setup

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env  # Keys eintragen

Nutzung

# Smoke-Tests
python scripts/smoke_kraken.py
python scripts/smoke_ai.py

# Einzelner Tick (kein Scheduler)
python -m aitrader.main --once

# Dauerbetrieb (15-Min-Cron)
python -m aitrader.main

# Dashboard
streamlit run src/aitrader/dashboard/app.py

Deployment auf Server

Siehe DEPLOY.md — Schritt-für-Schritt für Ubuntu-VPS mit systemd + Tailscale.

Projekt-Kontext

Siehe CLAUDE.md — wird automatisch von Claude Code geladen, beschreibt Architektur + Gotchas.

Status

Demo/Paper-Trading. Niemals ohne sorgfältigen Review auf Live umstellen.