trading/scripts
Viktor Barzin a93cb06898
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was canceled
feat(scripts): ad-hoc Meet Kevin video analyzer CLI
Given a YouTube video ID or URL, runs the same caption-extraction +
LLM-analysis pipeline the watcher uses in prod, then prints the
extracted tickers + actions sorted by action priority and conviction
descending. No DB writes, no Redis publish — strictly observational.

Two entry points:
  - scripts/analyze_kevin_video.py — pure Python; needs yt-dlp +
    Anthropic OAuth token in env. Local laptop yt-dlp tends to hit
    "Sign in to confirm you're not a bot" rate-limits; running inside
    a cluster pod avoids this.
  - scripts/kevin-analyze.sh — wrapper that finds the running
    trading-bot-workers pod and execs the Python script in the
    meet-kevin-watcher container. Easiest invocation.

Example:
  $ ./scripts/kevin-analyze.sh poUJIZRmFew
  === Meet Kevin analysis — poUJIZRmFew ===
    Market outlook: bullish
    TICKERS (12):
      SYMBOL   ACTION    CONV HORIZON     RATIONALE
      APPF     buy      85.0% long_term   Apploven's looking fantastic ...
      SOX      buy      80.0% months      Semiconductor ETF momentum ...
      ...
2026-05-27 12:05:59 +00:00
..
__init__.py feat: integration tests, seed data, and smoke test script 2026-02-22 16:02:44 +00:00
analyze_kevin_video.py feat(scripts): ad-hoc Meet Kevin video analyzer CLI 2026-05-27 12:05:59 +00:00
kevin-analyze.sh feat(scripts): ad-hoc Meet Kevin video analyzer CLI 2026-05-27 12:05:59 +00:00
seed_sample_data.py feat: productionize local service — fix signal pipeline, lower thresholds, add company-name ticker extraction 2026-02-22 22:17:26 +00:00
seed_strategies.py feat: wire 6 new strategies and fundamentals into signal generator 2026-02-23 21:55:59 +00:00
smoke_test.sh feat: integration tests, seed data, and smoke test script 2026-02-22 16:02:44 +00:00