Commit Graph

14 Commits

Author SHA1 Message Date
AI Assistant (Antigravity)
0841a1aa48 fix: SL/TP exchange close order & route notifications via discord bot 2026-05-26 14:05:21 +00:00
sylyx
563c20f615 feat: discord bot mit slash commands + auto-cleanup + ping bei gewinn 2026-05-24 14:28:49 +02:00
sylyx
f50f198a71 feat: discord bot mit slash commands + auto-cleanup + ping bei gewinn 2026-05-24 14:18:48 +02:00
sylyx
4e5051b8a8 feat(discord): split decisions/news into second webhook channel
Adds DISCORD_WEBHOOK_DECISIONS_URL env var. If set, decision and
news_alert posts go to that channel; all other events stay on the
main webhook. Falls back to main webhook if not configured.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 08:38:50 +02:00
sylyx
be1adfb94c feat: realistic budget, EUR trade size in Discord, confidence analytics
- config: starting equity 10k→100 EUR, max_position_pct 20%→10%, min_order 25→5 EUR
- discord: show invested EUR amount (💶 Einsatz) in trade_open embed
- dashboard: add Analytics tab with win-rate by confidence bucket

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 08:30:45 +02:00
sylyx
7a0eccbcef fix(discord): show actual voter values in decision embed during fallback
Pass raw a/b decisions to notify_decision so gemini shows its real
value ( limit) instead of groq's value when rate-limited.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 20:25:25 +02:00
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
sylyx
2ec58d01f7 config: enable per-tick decision notifications in Discord 2026-05-07 15:53:44 +02:00
sylyx
b8ccb2f250 feat(gemini): migrate to google-genai SDK (no more deprecation warning) 2026-05-07 15:09:43 +02:00
sylyx
97ccecb82b fix(gemini): retry-with-backoff on 429 + switch default model to flash-lite 2026-05-07 15:03:56 +02:00
sylyx
ce5f970dde fix(dashboard): use absolute imports (streamlit runs file as script) 2026-05-07 14:54:38 +02:00
sylyx
bf6716375a fix(systemd): disable ProtectHome (uv stores python in user home) 2026-05-07 14:36:46 +02:00
sylyx
344d30f440 fix(config): use Kraken Futures perpetual symbols (BTC/USD:USD) 2026-05-07 14:28:20 +02:00
sylyx
d111cf1fdc initial: aitrader bot (Gemini+Groq ensemble, Kraken Demo, Discord notifier) 2026-05-07 14:06:34 +02:00