← 返回
未分类 Key 中文

Reddit Stonks

Scrape Reddit stock pages (r/wallstreetbets, r/stocks, etc.) and use Deepseek AI to analyze which stock has the highest 1-week return potential. Includes a w...
Scrape Reddit stock pages (r/wallstreetbets, r/stocks, etc.) and use Deepseek AI to analyze which stock has the highest 1-week return potential. Includes a w...
altusrossouw altusrossouw 来源
未分类 clawhub v1.1.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 328
下载
💾 0
安装
1
版本
#latest

概述

Reddit Stonks Analyzer

Analyze Reddit stock sentiment + AI-powered stock picks for short-term returns.

Setup (first time only)

cp .env.example .env
# Edit .env: add DEEPSEEK_API_KEY
pip install -r requirements.txt

Quickstart

# Terminal mode
python3 stonks.py
python3 stonks.py -e -p 25

# Web app mode
python3 -m uvicorn app:app --host 0.0.0.0 --port 8080
# Open http://localhost:8080

Flags

FlagDescription
-------------------
-e, --euroShow European exchange equivalents for top picks
-p N, --posts NPosts per subreddit (default: 50)

How it works

  1. Scrapes 7 stock-related subreddits (r/wallstreetbets, r/stocks, r/investing, r/pennystocks, r/StockMarket, r/thetagang, r/dividends) for hot posts
  2. Extracts stock tickers ($TICKER and all-caps mentions) from post titles and bodies
  3. Fetches real-time stock data via Yahoo Finance (price, P/E, beta, volume, short float, analyst targets)
  4. Sends everything to the Deepseek AI for analysis

Output

Generates a stock data table, then AI analysis with:

  • Top Pick (best 1-week return)
  • Runner-up
  • Wildcard (high risk/reward)
  • Risk factors
  • Confidence score
  • Optionally: European exchange equivalents

Architecture

  • stonks.py — orchestrator + AI analysis via Deepseek
  • reddit_scraper.py — scrapes 7 subreddits via Reddit JSON API (no auth required)
  • stock_data.py — Yahoo Finance fundamentals/technicals + European ticker lookup

Disclaimer

AI-generated analysis for entertainment/educational purposes only. Not financial advice.

版本历史

共 1 个版本

  • v1.1.1 当前
    2026-05-21 13:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Tavily 搜索

jacky1n7
通过 Tavily API 进行网页搜索(Brave 替代方案)。当用户要求搜索网页、查找来源或链接,且 Brave 网页搜索不可用时使用。
★ 278 📥 101,449
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 298 📥 142,820
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 216 📥 71,340